Change mega menu width - Testament Theme

Solved

Change mega menu width - Testament Theme

SaucyPeach
Excursionist
29 1 10

Hi, i am trying to change the width my my mega menu and maybe center the column's in it (not just center the text).

Any help appreciated 🙂

saucypeach.com

P/W: Password

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8202 1972 2410

This is an accepted solution.

Oh, Sorry for that. Replace on this code then. 

Same Instruction. 

 

.megamenu.row.grid__wrapper {
    max-width: 100% !important;
    width: 100%;
    margin: auto;
    left: 0;
}

span.span-12.auto.megamenu__list-container {
        width: fit-content;
        justify-self: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1727865271260.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
8202 1972 2410

Hi @SaucyPeach 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.megamenu.row.grid__wrapper {
    max-width: 100% !important;
    width: 100%;
    margin: auto;
    left: 0;
}
.span-12.auto {
        width: fit-content;
        justify-self: center;
    }

 

And save. 

Result:

Made4uoRibe_0-1727130433418.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
SaucyPeach
Excursionist
29 1 10

Hi @Made4uo-Ribe 

this is the exact result I'm looking for but it centers the 'sort by' and 'filter' boxes as well as the payment icons in the footer.

Is there a way around this?

Made4uo-Ribe
Shopify Partner
8202 1972 2410

This is an accepted solution.

Oh, Sorry for that. Replace on this code then. 

Same Instruction. 

 

.megamenu.row.grid__wrapper {
    max-width: 100% !important;
    width: 100%;
    margin: auto;
    left: 0;
}

span.span-12.auto.megamenu__list-container {
        width: fit-content;
        justify-self: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1727865271260.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Rahul_dhiman
Shopify Partner
544 109 109

Hello @SaucyPeach 
Go to online store ---------> themes --------------> actions ------> edit code------->assets-----> stylesheet.css
add this code at the end of the file.

a.navigation__menulink.js-menu-link.is_upcase-true {
padding: 0 50px !important;
}

result
13.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167