Shopify themes, liquid, logos, and UX
Hey all!
I would like all the content in the dropdown menu on phone view to be centered horizontally, including the footer. How do I do that?
Website - maisonmagdalena.com
Password - MaisonMagdalena.222
Thank you in advance 🖤
Solved! Go to the solution
This is an accepted solution.
Hey @MagdalenaBB
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.list-menu__item {
justify-content: center !important;
}
.menu-drawer__utility-links {
text-align-last: center !important;
}
ul.list.list-social.list-unstyled {
justify-content: center !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Add this css in your edit code > base.css file
@media screen and (max-width:990px){
ul.menu-drawer__menu.has-submenu.list-menu li {
display: flex;
justify-content: center;
}
}
@media screen and (max-width:990px) and (min-width:750px){
ul.menu-drawer__menu.has-submenu.list-menu{
display:flex;
flex-wrap:wrap;
justify-content:center;
}
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
This is an accepted solution.
Hello @MagdalenaBB
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>
@media screen and (max-width: 767px) {
#menu-drawer .menu-drawer__inner-container {
display: flex;
justify-content: center;
}
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hey @MagdalenaBB
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.list-menu__item {
justify-content: center !important;
}
.menu-drawer__utility-links {
text-align-last: center !important;
}
ul.list.list-social.list-unstyled {
justify-content: center !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey! It worked thank you. However, after second inspection it seems some of the elements are not perfectly centered, making it all look strange. Any idea why that is and how to fix it?
This is an accepted solution.
Add this css in your edit code > base.css file
@media screen and (max-width:990px){
ul.menu-drawer__menu.has-submenu.list-menu li {
display: flex;
justify-content: center;
}
}
@media screen and (max-width:990px) and (min-width:750px){
ul.menu-drawer__menu.has-submenu.list-menu{
display:flex;
flex-wrap:wrap;
justify-content:center;
}
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
This is an accepted solution.
Hello @MagdalenaBB
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>
@media screen and (max-width: 767px) {
#menu-drawer .menu-drawer__inner-container {
display: flex;
justify-content: center;
}
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025