Shopify themes, liquid, logos, and UX
Hello, I am looking to change my menu layout in the home page of my store. I currently have the hamburger menu on the side of the screen. I would like to change the layout so the collections are displayed from left to right. Is there a way to implement this, but only on desktop? I would like to keep the side menu on mobile due to its phone-friendly layout.
Here is my store link for reference: https://www.sportsoutletexpress.com/
Solved! Go to the solution
This is an accepted solution.
thanks for confirm please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (min-width: 1200px) {
button#SiteNavCompressed {
display: none;
}
ul#SiteNav {
display: block !important;
}
.site-nav__link {
font-size: 9px;
padding: 5px;
}
}
sorry for that issue its theme default menu functionality if long menu item so that was convert hamburger menu you have reduce menu item and font size automation change horizontal menu
Hi KetanKumar,
Could you show me where in my code I would either have to edit or add code to change the menu layout and font size?
your css code
see that view
Yes! this is what I am looking to do on desktop only. can you send me the code?
This is an accepted solution.
thanks for confirm please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (min-width: 1200px) {
button#SiteNavCompressed {
display: none;
}
ul#SiteNav {
display: block !important;
}
.site-nav__link {
font-size: 9px;
padding: 5px;
}
}
Thank you! This worked great! I have marked it as a solution.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024