Shopify themes, liquid, logos, and UX
Hello, I want to shorten the gap between my dropdown menu so that it's a bit closer to the main navigation. Also, I want to remove the underline from under the submenu when it's hovered. I was able to do it for the main menu but not yet for the submenu. Thanks!
My website is lolaatelier.fr
Solved! Go to the solution
This is an accepted solution.
Hello @kaylaemcfadden
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.header__submenu.list-menu {
padding: 0 !important;
}
.header__submenu .header__menu-item:hover {
text-decoration-line: unset !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.header__submenu{
padding-top: 0 !important;
}
.header__menu-item {padding-top: 10px !important;}
.header__menu-item {
padding-bottom: 0 !important;
}
.header__menu-item:hover {
text-decoration-line: unset !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hello @kaylaemcfadden
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.header__submenu.list-menu {
padding: 0 !important;
}
.header__submenu .header__menu-item:hover {
text-decoration-line: unset !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hey how do I add space in between two custom liquids?
I'm not understand what you want to say.
These two are custom liquid texts both the top and bottom ones. How do I add some space between them?
This is an accepted solution.
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.header__submenu{
padding-top: 0 !important;
}
.header__menu-item {padding-top: 10px !important;}
.header__menu-item {
padding-bottom: 0 !important;
}
.header__menu-item:hover {
text-decoration-line: unset !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025