markserfx Posted September 29, 2021 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 Posted October 1, 2021 Posted October 1, 2021 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? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
markserfx Posted October 3, 2021 Author 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.
tuanphan Posted October 6, 2021 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.