Hi, how do I change the transparency of the sub menu background color with out effecting the transparency of the text in the sub menu?
Hey envisageiam,
Please post a link to your site and point out what you would like to change there.
Best regards,
Rikard
I would like for the drop down menu under “Products” to be transparent when the header is transparent and white when the header is white. Currently it is white all the time.
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
/* CSS - Transparent submenu */
#header.av_header_transparency .sub-menu a, .sub-menu,
#header.av_header_transparency .sub-menu li {
background: rgba(255,255,255,0.55) !important;
border:none;
}
Best regards,
Vinay
That worked good for the background transparency.
Can I also change the font color for with the sub menu background transparency?
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
/* CSS - menu item color */
#header.av_header_transparency .main_menu .menu ul li>a,
#header.av_header_transparency .main_menu .menu ul li>a:hover {
color: gold;
}
Best regards,
Vinay
That worked good, thank you. Can I also set the color of the text and background when I hover each item?
Hi,
Please replace the previous code with the below code:
/* Menu item color */
#header.av_header_transparency .main_menu .menu ul li>a {
color: red;
}
/* Menu item color on hover*/
#header.av_header_transparency .main_menu .menu ul li>a:hover {
color: gold;
}
Best regards,
Vinay