Shopify themes, liquid, logos, and UX
I have a header with a dropdown menu, and I'm trying to make the dropdown menu transparent to match the header's appearance seamlessly.
Here's a brief description of what I'm aiming for:
Solved! Go to the solution
This is an accepted solution.
Use this if you want to change border of sub menu too
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: solid #EDE6D6 1px!important
}
</style>
Or remove border:
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: 0!important
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Are you meaning all of header is transparent only when hover?
If true, you can try this:
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: 0!important
}
.header.header--layout-logo-center-nav-below.header--has-logo.header--transparent.header--has-transparent-logo.header--navigation-is-all-caps:hover {
background: transparent!important;
}
</style>
Here is result:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Can you share password to enter your store? So we can firgure out problems
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
whoops! sorry.. my bad!
it's Narre_3805
Got it. You can try this way:
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
}
</style>
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Use this if you want to change border of sub menu too
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: solid #EDE6D6 1px!important
}
</style>
Or remove border:
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: 0!important
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thanks for that! Is it possible to incorporate the transparency even when you hover? Also the dropdown has a border.. how can I remove the (green) border. Make the Header and dropdown transparent but keeping the font and font colours the same.
Thanks so much!
This is an accepted solution.
Are you meaning all of header is transparent only when hover?
If true, you can try this:
<style>
.navigation__submenu-list {
background: transparent!important;
color: #EDE6D6!important;
border: 0!important
}
.header.header--layout-logo-center-nav-below.header--has-logo.header--transparent.header--has-transparent-logo.header--navigation-is-all-caps:hover {
background: transparent!important;
}
</style>
Here is result:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
That worked beautifully!! Thank you sooo much!
I'm so sorry to ask you... but is it possible to do the same for mobile viewing as well?
are you looking for something like this in mobile.
Youre welcome. Have a good day!
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hello @adimenon
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
add this code at the end of the file.
.navigation__submenu-list {
background: transparent !important;
color: beige !important;
border: 2px solid beige;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Thanks for that! Is it possible to incorporate the transparency even when you hover? Also the dropdown has a border.. how can I remove the (green) border. Make the Header and dropdown transparent but keeping the font and font colours the same.
Thanks again!
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024