Jump to content

Inverting logo on mobile menu (before scrolling)

Recommended Posts

Site URL: https://thecwordcomms.co.uk/about

Hi, I've just launched a website, and I'm having problems with my last bit of coding to ensure it works smoothly. I've included some coding so my header reduces when you scroll through my site. However, I'm having problems with inverting my logo on every page except my home page when you view on a mobile and click the burger (before you start scrolling). The logo appears to remain black (it doesn't invert). Here's an example link (but it's the same on all pages apart from my home page: https://thecwordcomms.co.uk/about

Anyone else have this issue or know any coding to help resolve. Thanks in advance. This forum is so great for helping us all learn new skills. Thanks

Link to comment
15 hours ago, clockyer said:

Site URL: https://thecwordcomms.co.uk/about

Hi, I've just launched a website, and I'm having problems with my last bit of coding to ensure it works smoothly. I've included some coding so my header reduces when you scroll through my site. However, I'm having problems with inverting my logo on every page except my home page when you view on a mobile and click the burger (before you start scrolling). The logo appears to remain black (it doesn't invert). Here's an example link (but it's the same on all pages apart from my home page: https://thecwordcomms.co.uk/about

Anyone else have this issue or know any coding to help resolve. Thanks in advance. This forum is so great for helping us all learn new skills. Thanks

Try adding to Home > Design > Custom Css

.header--menu-open .header-title-logo img {
  -webkit-filter: invert(1);
  filter: invert(1);
}

Let me know how it works  on your site

Press 👍 or mark this answer as solution to help another one too

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Testing result

image.png.74a78739b27b5527757a05438b815a57.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.