aws_derby Posted August 9, 2022 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! 🙂
Beyondspace Posted August 9, 2022 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 - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Beyondspace Posted August 9, 2022 Posted August 9, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
aws_derby Posted August 9, 2022 Author 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!
tuanphan Posted August 11, 2022 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment