Shopify themes, liquid, logos, and UX
On desktop view, the sub-menu splits into two columns whenever there are more than 10 items. I want to force one column. How do I force all items to list in one column?
Thank you!
Solved! Go to the solution
This is an accepted solution.
Hey @tmaciejewski
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>
.main-nav .nav-item.drop-norm .sub-nav-inner {
display: block !important;
}
ul.sub-nav-list {
padding-bottom: 0 !important;
padding-top: 0 !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 @tmaciejewski
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
da-kine-hawaiian.myshopify.com
This is an accepted solution.
Hey @tmaciejewski
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>
.main-nav .nav-item.drop-norm .sub-nav-inner {
display: block !important;
}
ul.sub-nav-list {
padding-bottom: 0 !important;
padding-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
That worked. Thanks so much!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi @tmaciejewski
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the How To Force Submenu To Be One Column, let’s try this solution:
Online Store ->Theme ->Edit code
Assets ->style.css
.main-nav .nav-item.drop-norm .sub-nav-inner{
display: flex !important;
flex-direction: column !important;
}
I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
User | RANK |
---|---|
198 | |
171 | |
61 | |
52 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023