Tagged: subheader
Hello,
I am trying to make my subheader menu background transparent: (actually: rgb (0,0,0,0.1)) only when my header is also same color (which is very top position on the page). I use transparent header with borders in enfold theme. As you know, it transforms into solid black background as you scroll down. I want the subheader background to act the same: transparent on top and solid black background when scrolled down; at the same time with the header. How can I do this?
Thanks in advance,
Mert
Hey DesignUM_International,
Best regards,
Victoria
Hello,
I mean the dropdown menu at header>about.
Regards,
Mert
Hi,
Thanks for the update.
Use this css code to make the sub menu transparent.
.header_color .main_menu ul ul {
background-color: transparent;
}
Best regards,
Ismael
Thanks for the reply Ismael, but it is not exactly what I was looking for. Let me repeat the request just to clear the misunderstandings. I want the drop-down submenu background (for this case it is dropdown menu under “about”), to be transparent only when we are at the very top of the page; when we scroll down, it would transform into black color. So that it would act just like the header itself.
Thanks,
Mert
Hi,
Thanks for the clarification. You can replace the previous css code with this one.
.header_color .main_menu ul ul {
background-color: #000000;
}
.av_header_transparency.header_color .main_menu ul ul {
background-color: transparent;
}
Best regards,
Ismael
Thanks for the code! It is what I needed.
Best regards,
Mert
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon