Change mega menu width - Testament Theme

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 :slightly_smiling_face:

P/W: Password

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:

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

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

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

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?

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:

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