markserfx Posted September 29, 2021 Share Posted September 29, 2021 Hello, Apologies if this is something basic but I'm looking to have my color rollover state stay. Right now with my current code, it's just changing with the mouse rollover but would love for the color to stay. Can you help? This is my current code: /* Nav item color */ .header-nav-item a { color: #ffffff !important; transition-duration: 0.4s; } /* Nav item hover color */ .header-nav-item a:hover { color: green !important; transition-duration: 0.4s; } /* Nav item active color */ .header-nav-item--active a { color: green !important; } Beyondspace 1 Link to comment
Beyondspace Posted October 1, 2021 Share Posted October 1, 2021 (edited) On 9/30/2021 at 12:06 AM, markserfx said: Hello, Apologies if this is something basic but I'm looking to have my color rollover state stay. Right now with my current code, it's just changing with the mouse rollover but would love for the color to stay. Can you help? This is my current code: /* Nav item color */ .header-nav-item a { color: #ffffff !important; transition-duration: 0.4s; } /* Nav item hover color */ .header-nav-item a:hover { color: green !important; transition-duration: 0.4s; } /* Nav item active color */ .header-nav-item--active a { color: green !important; } Can you share your site with the Protected Password? Edited October 1, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
markserfx Posted October 3, 2021 Author Share Posted October 3, 2021 Hi @bangank36 - it is now open. Right now the home page is a preview page and it'll be launching tomorrow. You can access the page with menus at diwatakomiks.com/home. Link to comment
tuanphan Posted October 6, 2021 Share Posted October 6, 2021 @markserfx You mean active item? It looks like you used Link Items to add About, Contact.... You can drag these original pages from Not Linked >> Main Navigation, the above code will work 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
markserfx Posted October 6, 2021 Author Share Posted October 6, 2021 Thank you so much @tuanphan! 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