Hi!
I’ve just added mega menus to my site (parmagroup.co.uk) - but I don’t like how everything is aligned left. What code do I need and where do I need to put it to align these options to the center of the page?
I’ve tried using what little there is out there on this already in the theme.liquid, theme.css and meganav-standard.liquid but can’t get it right!
I’d appreciate any help!
Hello @BethParma
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
.navmenu-meganav-wrapper {
justify-content: center;
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Ah amazing, thank you so much for your help!!
Hello @BethParma
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
at the end of the file and save.
.navmenu-meganav-wrapper.navmenu-meganav-standard__wrapper {
justify-content: center !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks