Jump to content
Go to solution Solved by Beyondspace,

Recommended Posts

Hello! 

website: coucoustudio.squarespace.com 

PW: CCS24

I used a code to change my logo on scroll with a transparent background to a solid background with a black logo. However when you open the hamburger menu on mobile and scroll it reverts back to the white/light logo (see video) 

 

Could someone help me understand how to make sure it stays the black logo when the hamburger menu is open? 

 

Thanks!

Link to comment
  • Solution
3 hours ago, Gigi-C said:

Hello! 

website: coucoustudio.squarespace.com 

PW: CCS24

I used a code to change my logo on scroll with a transparent background to a solid background with a black logo. However when you open the hamburger menu on mobile and scroll it reverts back to the white/light logo (see video) 

 

Could someone help me understand how to make sure it stays the black logo when the hamburger menu is open? 

 

Thanks!

Screen Recording 2024-05-16 at 18.32.05.mov

This code affects the logo when you open hamburger menu

image.thumb.png.83fe25260b3dead873172db4002b61a6.png

You can try the following custom CSS to overwrite it

body:not(.collection-type-products.view-item).header--menu-open header#header.shrink img {
  filter: unset;
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

@Beyondspace omg thanks so much for this!!! I was wondering if you could also help me with the hamburger icon, it does a similar thing on scroll whilst closed - stays white on scroll instead of going black like the logo. Do you know what I could use for this? 

 

Many thanks! 

 

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.