Reputation: 31
I have this website I'm working on. Bear in mind I'm not a professional.
Id like to CSS style the font colour, whilst hovering, in the submenus.
Any clues how to do this?
Cheers, Matt
https://willcruickshank.net/new/
Upvotes: 0
Views: 73
Reputation: 463
In your css file, with the class name given to your submenu items, you can define parameters for on hover:
.mn-sub li a:hover {
color: red;
}
Upvotes: 0
Reputation: 399
Currently, this is the CSS that controls the hover color of the font in the sub-menu:
.mn-sub li a.active{
background: rgba(255,255,255, .09);
color: #f5f5f5 !important;
}
You can change the color on hover to something else by just swapping out the #f5f5f5 with any other color hex code. To make it blue (#0000FF), for example:
.mn-sub li a.active{
background: rgba(255,255,255, .09);
color: #0000FF !important;
}
Goodluck!
Upvotes: 1