Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello to all!
I have a problem with my online store. I would like to have the dropdown menu from the menu bar in the header transparent. I saw that the background is coupled with the main background.
Is there anyone here who can make the background in the dropdown menu transparent for me?
Already tried different opacity values in the code, to no avail!
Thanks a lot in advance!
Solved! Go to the solution
This is an accepted solution.
hi @CaliWorld,
You can mark it as an accepted solution. So other should know there are no action required for this thread.
Hi @CaliWorld ,
Share your store URL.
cali-world.de
like this you want?
No. In your screenshot behind "Products" the background is black. It should also be transparent.
The font at "CBD flowers" and "Food & Drinks" should be normal thick. The background behind the two categories should also be transparent.
Hi @CaliWorld,
Hope you are well. Can you please share the URL of your store? So, I get better idea for the change
Hi @CaliWorld,
Please add the below CSS at the end of your theme.css file. let me know if you want any changes after implementation.
.site-nav__dropdown{
background-color:transparent;
}
.site-nav__dropdown a{
background-color:transparent;
color:#000;
}
.site-nav--has-dropdown.is-focused>a, .site-nav--has-dropdown:hover>a{
background:transparent !important;
}
Hi @Akibhusen
thank you very much. It works!
BUT! The text is black now, not white haha. In which Code i have to change it in #ffffff`?
EDIT: Oh i got it. It was beacause your 000 in color. I got in now. Thank you very much @oscprofessional @Akibhusen
Use for white color #fff .
This is an accepted solution.
hi @CaliWorld,
You can mark it as an accepted solution. So other should know there are no action required for this thread.
a.site-nav__dropdown-link.site-nav__dropdown-link--second-level {
background: transparent;
}
a.site-nav__link.site-nav__link--has-dropdown {
background: transparent;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025