Shopify themes, liquid, logos, and UX
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!
Solved! Go to the solution
This is an accepted solution.
Hello @BethParma
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.navmenu-meganav-wrapper {
justify-content: center;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </head> on theme.liquid
<style>
.navmenu-meganav-wrapper {
justify-content: center!important;
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Hello @BethParma
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.navmenu-meganav-wrapper {
justify-content: center;
}
</style>
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!!
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </head> on theme.liquid
<style>
.navmenu-meganav-wrapper {
justify-content: center!important;
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024