Martinaketek Posted Wednesday at 10:37 AM Share Posted Wednesday at 10:37 AM Hello, I have been trying to style my navbar so that once I hover, there is an effect which inverts the font colour and adds a background. The code I have now has been working well until I added another dropdown menu (resources), where the active style does not work as intended. The effects under "products" are the effects I am trying to achieve on "support," but if I am already on support, the dropdown on the navbar does not look good. This is the CSS I use at the moment: //Stylized Folder Dropdown Menu @linkBGColor: #d20c0d; @linkTextColor: #fff; .header-nav .header-nav-item--folder .header-nav-folder-content { padding: 1em; .header-nav-folder-item { padding: .5em 1em; } .header-nav-folder-item:hover { background: @linkBGColor; a { color: @linkTextColor; } } } Link to comment
tuanphan Posted 2 hours ago Share Posted 2 hours ago Can you share site url? We can check easier 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
Create an account or sign in to comment
You need to be a member in order to leave a comment