Gigi-C Posted May 16 Share Posted May 16 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 Beyondspace 1 Link to comment
Solution Beyondspace Posted May 16 Solution Share Posted May 16 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 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
Gigi-C Posted May 17 Author Share Posted May 17 @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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment