earthwindflowermoon Posted September 27, 2022 Share Posted September 27, 2022 Site URL: https://malenyvedicvillage.squarespace.com/ Hi community! I am wanting a gradient secondary navigation button to be featured only on pages with no background images. The below code works great for all pages, as in it changes the home page button as well. I don't want this to happen, I would like it to remain white, while the rest are gradient. pw : Maharishi Thanks for any help 🙂 .Header-nav--secondary .Header-nav-item {   background: linear-gradient(to right, #e4bc60, #b7812d) !important; } Link to comment
tuanphan Posted September 27, 2022 Share Posted September 27, 2022 It looks like you solved it? 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
earthwindflowermoon Posted September 28, 2022 Author Share Posted September 28, 2022 No not yet Tuanphan. I currently don't have the code pasted in custom css so homepage currently is correct (white button) while the rest of the pages are a plain gold - this is what I want to change - these other pages should be gradient. Link to comment
tuanphan Posted September 30, 2022 Share Posted September 30, 2022 On 9/28/2022 at 1:20 PM, earthwindflowermoon said: No not yet Tuanphan. I currently don't have the code pasted in custom css so homepage currently is correct (white button) while the rest of the pages are a plain gold - this is what I want to change - these other pages should be gradient. Add to Design > Custom CSS body:not(.homepage) nav.Header-nav--secondary a { background: linear-gradient(to right, #e4bc60, #b7812d) !important; }  earthwindflowermoon 1 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
earthwindflowermoon Posted October 1, 2022 Author Share Posted October 1, 2022 Perfect!!!!! 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