Remove the Tagline on Mobile

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

Where to copy/paste this code?
The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.

/* START OF Remove the Tagline on Mobile */
@media (max-width: 979px) {
    h2.site-description {
        display:    none;
    }
}
/* END OF Remove the Tagline on Mobile */

Credit: @acub

Leave a comment

Your email address will not be published. Required fields are marked *