Shopify themes, liquid, logos, and UX
Hello, I was able to code my store so that the navigation/menu was transparent, but there is still a slight shadow and outline that appears in the dropdown menu. How can I remove this?
Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey @kaylaemcfadden,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.js details>.header__submenu {
border: none !important;
box-shadow: none !important;
}
.js details>.header__submenu > li > a {
padding-left: 10px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
I noticed your header once you scroll down is fully white and you can't see anything. You can follow the same steps above and fix that by adding the code below, if you want to.
<style>
.section-header.shopify-section-header-sticky.scrolled-past-header sticky-header.header-wrapper.gradient {
background: linear-gradient(179deg, black , transparent) !important;
}
.section-header.shopify-section-header-sticky.scrolled-past-header sticky-header header {
padding-bottom: 10px !important;
}
</style>
Hey @kaylaemcfadden,
Can I have the link to your store please? Thanks!
Hello, yes its lolaatelier.fr
This is an accepted solution.
Hey @kaylaemcfadden,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.js details>.header__submenu {
border: none !important;
box-shadow: none !important;
}
.js details>.header__submenu > li > a {
padding-left: 10px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
I noticed your header once you scroll down is fully white and you can't see anything. You can follow the same steps above and fix that by adding the code below, if you want to.
<style>
.section-header.shopify-section-header-sticky.scrolled-past-header sticky-header.header-wrapper.gradient {
background: linear-gradient(179deg, black , transparent) !important;
}
.section-header.shopify-section-header-sticky.scrolled-past-header sticky-header header {
padding-bottom: 10px !important;
}
</style>
Thank you so much! The first code worked. I'm still working on my sticky header but thank you!
Hi
I need help with my drop down menu, it casts a pink shadow over the main image page every time the menu drop down is selected, how do I get rid of that? I've tried setting all shadows for drop downs to 0% already, problem still exists.
Hey @leticiahomeware,
Can you share the link to your store?
Hello @kaylaemcfadden
Can you share store URL?
1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
header-menu > * > ul{
box-shadow: unset !important;
}
If it helps you please click on the "like" button and mark this answer as a solution!
Thank you.
Kind regards,
Diego
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