wonderwebber Posted July 21, 2021 Share Posted July 21, 2021 Site URL: https://sswebdev-one.squarespace.com/ The password for our site at: https://sswebdev-one.squarespace.com/ is: secret On the "Initiatives" (https://sswebdev-one.squarespace.com/initiatives) and "Contact" (https://sswebdev-one.squarespace.com/contact-us) pages of our website the hamburger menu icon is red when we're at the top of the page. (in a narrow browser or on a phone) I would like to update the color of the hamburger menu to white when you scroll down the page. I have defined the following CSS but it doesn't seem to be working as the hamburger menu remains red on scrolling: #collection-5d375e74792ad1000134157d, #collection-5d3773b4c6dce00001b488b3 { .tweak-fixed-header .shrink.header .burger-inner > div { background-color: white!important; } } If you have any suggestions on how I can achieve the change in color of the hamburger menu icon on scroll I'd appreciate your feedback. Beyondspace 1 Link to comment
Solution Beyondspace Posted July 22, 2021 Solution Share Posted July 22, 2021 12 hours ago, wonderwebber said: Site URL: https://sswebdev-one.squarespace.com/ The password for our site at: https://sswebdev-one.squarespace.com/ is: secret On the "Initiatives" (https://sswebdev-one.squarespace.com/initiatives) and "Contact" (https://sswebdev-one.squarespace.com/contact-us) pages of our website the hamburger menu icon is red when we're at the top of the page. (in a narrow browser or on a phone) I would like to update the color of the hamburger menu to white when you scroll down the page. I have defined the following CSS but it doesn't seem to be working as the hamburger menu remains red on scrolling: #collection-5d375e74792ad1000134157d, #collection-5d3773b4c6dce00001b488b3 { .tweak-fixed-header .shrink.header .burger-inner > div { background-color: white!important; } } If you have any suggestions on how I can achieve the change in color of the hamburger menu icon on scroll I'd appreciate your feedback. did you try this .tweak-fixed-header .header .burger-inner>div, .header--menu-open.tweak-fixed-header header.header .burger-inner>div { background-color: red !important; } .tweak-fixed-header .shrink.header .burger-inner>div { background-color: #fff !important; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) 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
wonderwebber Posted July 23, 2021 Author Share Posted July 23, 2021 Hi bangank36, Thanks very much for your response and CSS suggestion. This code worked perfectly. So appreciate your help with this. 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