We need to set our side menu in the Simple Theme to be fixed width.
The menu items flow to second line on smaller screens like ipad.
We checked the width that works best it is 175 for menu only or 205 for the box area,
I can find out how to set the width anybody know how?
@Thomas007
My pleasure to help you.
Welcome to the Shopify community!
Please share your store URL!
I will check out the issue and provide the correct solution to you!
Thanks!
Hi @Thomas007 ,
Go to Assets > theme.scss.liquid and paste this at the bottom of the file:
@media only screen and (min-width: 750px) {
.site-nav {
max-width: 205px;
width: 205px;
}
.site-nav__item {
max-width: 175px;
width: 175px;
}
}
Hope it helps!
Thank you for you help it got it much closer.
The menu is corrected and is now fixed width but it will now overlap the body of the website.
See this picture
@Thomas007
My pleasure to help you.
Welcome to the Shopify community!
Please share your store URL!
I will check out the issue and provide the correct solution to you!
Thanks!
Sent you a message directly
Hi @Thomas007 ,
Please send your site and if your site is password protected, please send me the password. I will check it.
Sent you message directly
Hi @Thomas007 ,
Go to Assets > theme.scss.liquid and paste this at the bottom of the file:
@media only screen and (min-width: 750px) {
.site-wrapper>.grid {
display: flex;
}
}
This fixed the issue thank you for your help!
1 Like