Change mega menu width - Testament Theme

Solved

Change mega menu width - Testament Theme

SaucyPeach
Excursionist
44 1 14

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
10211 2427 3081

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
SaucyPeach
Excursionist
44 1 14

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
10211 2427 3081

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

Rahul_dhiman
Shopify Partner
855 168 186

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

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages