Hi, I’m using a transparent header on my site, how can I also make the submenu to be more transparent than it is now (see attached screenshot)?
Hey DROR,
Try this code in the General Styling > Quick CSS field:
#top .sub-menu {background: rgba(255,255,255,0.5) !important;}
.sub-menu, .sub-menu * { background: transparent !important; }
#top .header_color .main_menu .menu ul li a {color: rgb(255,255,255) !important;}
Best regards,
Mike
Thanks but that make it transparent at all times and I only want to make it transparent when the main menu is transparent. Once the user scrolls it should go back to the regular full background color.
Is that possible?
Hi,
Please try this at the end of your css instead:
#top .header_color.av_header_transparency .main_menu .menu ul li a {color: rgb(255,255,255) !important;}
#top .av_header_transparency .sub-menu {background: rgba(255,255,255,0.5) !important;}
.av_header_transparency .sub-menu, .sub-menu * { background: transparent !important; }
Best regards,
Mike
Great, thanks. How do I remove the white border?