Forums
Forums / Themes and Templates / Sub-Menu CSS
(@blueflamman)
9 years, 3 months ago
Hey guys, I’m stuck trying to match my header sub-menu background colour to my header colour. I can’t seem to get the CSS right.
If anybody can help, I would be very grateful.
Page – https://www.in2drums.com/wordpress/live-lessons
Main header CSS (Working) #masthead { background-color: rgba(10,10,10,0.3); position: absolute; z-index: 1!important; top: 0px; left: 0; }
Sub-menu CSS(not working)
.sub-menu { background-color: rgba(10,10,10,0.3);
}
(@saurabhdhariwal)
Hello blueflamman,
Try below css.
.sub-menu li a {background-color: rgba(10,10,10,0.3) !important; }
Hope this will helps you.
Worked like a charm!
Thank you SOOO much!
The topic ‘Sub-Menu CSS’ is closed to new replies.