RJTimmermans95 Posted September 24, 2019 Share Posted September 24, 2019 Hi! So I am trying to change the hover color per link. To be more specific, if you go to my website rickytimmermans.com and hover over Photography and see the sub-categories {portrait, scenery, etc.}, I would like a different hover color per line. The CSS code I found through @Paul2009 was : a:hover { color: white!important; background: black; } So instead of doing black for the sub categories, I want to do other colors. Anything would help. Thank you!!! Link to comment
RJTimmermans95 Posted September 24, 2019 Author Share Posted September 24, 2019 Oh and template is Motto Link to comment
RJTimmermans95 Posted September 24, 2019 Author Share Posted September 24, 2019 Oh and template is Motto Link to comment
tuanphan Posted September 25, 2019 Share Posted September 25, 2019 @RJTimmermans95 Add to Home > Design > Custom CSS a.Header-nav-folder-item:nth-child(1):hover { color: red !important; } a.Header-nav-folder-item:nth-child(2):hover { color: #009900 !important; } a.Header-nav-folder-item:nth-child(3):hover { color: green !important; } a.Header-nav-folder-item:nth-child(4):hover { color: #000 !important; } a.Header-nav-folder-item:nth-child(5):hover { color: rgb(0,0,0) !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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.