Jump to content

Changing logo color on specific pages on mobile site

Recommended Posts

I found the code to ensure I can use a different logo color on specific pages for desktop, but that's not changing it on mobile. Can someone help with that code? It's just changing the logo from white to black. Here's the code that worked for desktop.

 

<style> .header-title-logo img { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } </style>

Link to comment
  • Replies 2
  • Views 237
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

@christopherkicks You can add this code to the change the mobile logo form white to black:

<style> 
  .header-mobile-logo img { 
    -webkit-filter: invert(100%); filter: invert(100%); 
    filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); 
  } 
</style>

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.