aws_derby Posted August 9, 2022 Share Posted August 9, 2022 Site URL: https://www.woodlands.derby.sch.uk Hi, I wondered if anybody was familiar with changing the colour of the navigation bar when scrolling down. Currently, my navigation is set as 'solid' and 15% opaque - however I would like the bar to turn green when scrolling down and solid in colour. I was wondering if there was a work round for achieving this. https://www.woodlands.derby.sch.uk Any advice would be welcome! Thank you! 🙂 Link to comment
Beyondspace Posted August 9, 2022 Share Posted August 9, 2022 46 minutes ago, aws_derby said: Site URL: https://www.woodlands.derby.sch.uk Hi, I wondered if anybody was familiar with changing the colour of the navigation bar when scrolling down. Currently, my navigation is set as 'solid' and 15% opaque - however I would like the bar to turn green when scrolling down and solid in colour. I was wondering if there was a work round for achieving this. https://www.woodlands.derby.sch.uk Any advice would be welcome! Thank you! 🙂 Try adding to Home > Design > Custom Css #header.shrink .header-nav-item > a { color: orange; } Let me know how it works on your site Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
Beyondspace Posted August 9, 2022 Share Posted August 9, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
aws_derby Posted August 9, 2022 Author Share Posted August 9, 2022 The text does change colour thank you. Is there a way of changing the navigation bar itself into a solid colour? Thanks again for your help! Link to comment
tuanphan Posted August 11, 2022 Share Posted August 11, 2022 On 8/10/2022 at 2:53 AM, aws_derby said: The text does change colour thank you. Is there a way of changing the navigation bar itself into a solid colour? Thanks again for your help! Use this CSS code header#header.shrink { background-color: green !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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