How can I center the menu in the header? as well as the submenu under SHOP
website - https://the-style-luxe.myshopify.com/
password - reucho
thanks in advance!!
How can I center the menu in the header? as well as the submenu under SHOP
website - https://the-style-luxe.myshopify.com/
password - reucho
thanks in advance!!
Hello @hasanali1
To make menu center follow this steps :
Hope this works well.
Hello @hasanali1
Itβs GemPages support team and glad to support you today.
I would like to give you a solution to support you.
Go to Online Store β Theme β Edit code.
Open your assets/base.css theme file.
Add the code at the end of the file:
.header{
grid-template-columns: auto 3fr 1fr !important;
}
.header--middle-left .header__inline-menu{
text-align: center !important;
}
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Hi @hasanali1
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
Please add this css in your bottom of the css file:
@media screen and (min-width: 990px) { .header--middle-left .header__inline-menu {width: 120%; text-align: center;} }Regards,
San
Please add the following code at the bottom of your css file.
.header{
grid-template-columns: auto 3fr auto !important;
text-align: center;
}
.header--middle-left .header__inline-menu{
text-align: center !important;
}