Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi, I just enabled my first mega-menu and by default, it's using 100% of the screen, which leaves a ton of white space between columns. How would I reduce the width so it is only as wide as necessary to fit the text in each column?
Also, it would be great to reduce the padding between each menu item. Thanks!!!
I'm using the Turbo theme.
Solved! Go to the solution
This is an accepted solution.
Hi @Eden73,
This is Victor 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 style.css.
Step 3: Paste the below code at bottom of the file -> Save
[data-nav-desktop-details][open] .nav-desktop__tier-2--full-width-menu {
width: 50% !important;
margin-left: 25%;
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
yes, please confirm this
@KetanKumarthat's my desired solution, how do I accomplish this layout?
Also if it's possible to reduce the top and bottom padding between the menu items, that would be amazing!
This is an accepted solution.
Hi @Eden73,
This is Victor 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 style.css.
Step 3: Paste the below code at bottom of the file -> Save
[data-nav-desktop-details][open] .nav-desktop__tier-2--full-width-menu {
width: 50% !important;
margin-left: 25%;
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Hello @kittycatmeowmy ,
It's GemPages support team and glad to support you today.
I would like to give you the recommendation to support you so kindly follow the steps below:
1. Go to Online Store > Theme > Edit code of your current theme
2. Open your theme.liquid theme file
3. Paste the below code before </head>
<style>
.main-nav__wrapper .nav.nav--combined {
position: relative;
}
</style>
For example,
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
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