Site logo

Archived topic

Remove site logo on mobile

3 replies · Started by Salty Communication on December 21, 2022

Viewing posts 1–4 of 4

Hi!

I am using this CSS to remove the site logo on desktop on specific pages:

.page-id-498 .site-header .site-logo {
    display: none;
}

How do I make work also on mobile and tablet? And is there a way to include all the pages but not the front page?

Thanks!

So the mobile header is enabled and it has its own site-logo but its inside the #mobile-header not the .site-header
Change your CSS to this:

.page-id-498 .site-logo {
    display: none !important;
}

Then it will handle all site-logos regardless of where they are

David, the savior! Thanks and merry christmas.

You're welcome - and Merry Christmas!!

This archived topic is closed to new replies.