Hi
I’m using the header transparency option on the homepage and use an image as background – great effect.
I have set a different logo and also changed the color of menu links but the menu links are not quit visible enough, and I really would like to have the option from the Flagship theme where the menu have a transparent background color. How would that be possible on the othervise great Enfold theme?
Thanks
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
nav.main_menu {
background-color: rgba(0,0,0,0.2);
border-radius: 10px;
}
.header-scrolled nav.main_menu {
background-color: transparent;
}
Best regards,
Yigit
Hey!
Please add following code to Quick CSS as well
@media only screen and (max-width: 767px) {
.responsive #header_meta .sub_menu>ul>li { padding: 0; }
.responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul {
float: left; }}
Regards,
Yigit
Hi!
Please add following code to add padding to right side of search icon
.html_main_nav_header #top .main_menu .menu>li:last-child>a, .html_bottom_nav_header #top #menu-item-search>a {
padding-right: 14px;
}
Other changes you have mentioned can be done but transition would not be as smooth. You can try with following code
.av-main-nav > li > a {
line-height: 30px!important;
height: 30px!important;
}
nav.main_menu { margin-top: 30px; height: auto; }
Cheers!
Yigit
Hi!
Please replace
nav.main_menu {
background-color: rgba(0,0,0,0.2);
border-radius: 10px;
}
.header-scrolled nav.main_menu {
background-color: transparent;
}
with
.home nav.main_menu {
background-color: rgba(0,0,0,0.2);
border-radius: 10px;
}
.header-scrolled nav.main_menu {
background-color: transparent;
}
Best regards,
Yigit
Hi Yigit
Great, this works. This is 5 star support, just great.
Thanks