mylesrh Posted July 13, 2020 Posted July 13, 2020 (edited) Site URL: https://therare.la site: https://therare.la password: rarity Hello - I'm really close to getting my site done but I need to figure out how to change the text color of subnav elements on hover. Specifically, in the image below, when I hover over any part of the box for the "Azul" item, I want the text to highlight green instead of highlighting white (which it does currently). I'd like all other colors to remain as is, including the subnav container background, the subnav element box background highlight, and the main nav color and highlights. Please advise on how I may be able to accomplish this. Edited July 14, 2020 by mylesrh
tuanphan Posted July 14, 2020 Posted July 14, 2020 Add to Home > Design > Custom CSS /* desktop*/ .header-nav-item--active>a { color: red !important; } /* mobile */ .header-menu-nav-item--active>a { color: red !important; } /* folder */ .header-nav-folder-item--active a { color: red !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!)
mylesrh Posted July 14, 2020 Author Posted July 14, 2020 8 hours ago, tuanphan said: Add to Home > Design > Custom CSS /* desktop*/ .header-nav-item--active>a { color: red !important; } /* mobile */ .header-menu-nav-item--active>a { color: red !important; } /* folder */ .header-nav-folder-item--active a { color: red !important; } Had to change some stuff to hover instead of active, but the correct class names got me far enough to get where I was trying to go. Thanks!
tuanphan Posted July 15, 2020 Posted July 15, 2020 ah sorry, use this code .header-nav-item>a:hover { color: red !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!)
Iwan Posted April 13, 2022 Posted April 13, 2022 Hi @tuanphan what is the right set of CSS codes to change subnav items? https://jeanine-thompson.squarespace.com/ password tuansqsp
tuanphan Posted April 18, 2022 Posted April 18, 2022 (edited) On 4/13/2022 at 9:24 PM, Iwan said: Hi @tuanphan what is the right set of CSS codes to change subnav items? https://jeanine-thompson.squarespace.com/ password tuansqsp It looks like you solved? Or you mean, when hover folder title >> change folder title color only, not all folder title + items? Edited April 18, 2022 by tuanphan 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!)
Iwan Posted April 18, 2022 Posted April 18, 2022 Hi @tuanphan, thanks, no, what I mean is...currently when you hover over my header nav items they turn pink...as do the subnav items...is there a way to make the hover over the subnav items go a different colour? So initially the main menu nav items are all dark grey, then pink on hover, but when you select a subnav can that hover colour be different?
tuanphan Posted April 22, 2022 Posted April 22, 2022 On 4/18/2022 at 4:40 PM, Iwan said: Hi @tuanphan, thanks, no, what I mean is...currently when you hover over my header nav items they turn pink...as do the subnav items...is there a way to make the hover over the subnav items go a different colour? So initially the main menu nav items are all dark grey, then pink on hover, but when you select a subnav can that hover colour be different? If users on Speaking page >> Hover Speaking >> Change pink to another color? 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