Shopify themes, liquid, logos, and UX
Hello,
I have been trying for hours to figure this out. Two of our drop down menus are too long and we need to split them into two columns. Is there any help or advice? my theme is Debut theme
Solved! Go to the solution
This is an accepted solution.
Hi,
Follow this:
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
#SiteNavLabel-solvents { width: auto; } #SiteNavLabel-solvents ul { column-count: 2; } #SiteNavLabel-solvents ul li {-webkit-column-break-inside: avoid;page-break-inside: avoid; break-inside: avoid; }
Note: I have given this css base on current theme.
Aw thank you!
tusktools-au password Zyber
Main menu - hopefully want to have 3 columns under Cutting , grinding , drilling
Many thanks
Hayley
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss Or theme.css-> paste bellow code in bottom of file
.navbar-nav.navbar-standard > li:nth-child(3) > ul,.navbar-nav.navbar-standard > li:nth-child(4) > ul,.navbar-nav.navbar-standard > li:nth-child(5) > ul{column-count: 3;}
Hello @Jasoliya
How would you add a multi-column dropdown for Shop on https://ri3qvpcf1y067i4l-51982074037.shopifypreview.com for the 'Albums' > 'Boy Groups' and 'Girl Groups' menu?
Thank you in advance for any possible help!!
add this css:
.nav .dropdown-submenu:nth-child(2) .dropdown-menu,.nav .dropdown-submenu:nth-child(3) .dropdown-menu{column-count: 2;}
Thanks for quick response, I added it to the file theme.css but it hasn't changed. Did I add it in the wrong place?
Follow this
1. open Layout -> theme.liquid file- > at end just before </body> paste this
<style>
.nav .dropdown-submenu:nth-child(2) .dropdown-menu,.nav .dropdown-submenu:nth-child(3) .dropdown-menu{column-count: 2;}
</style>
Can you help me too with the long dropdown problem? The category is "brands." My website is www.shopfivenine.com. I have tried many of the solutions in this thread to fix it myself but nothing worked.
1. Go to Online Store->Theme->Edit code
2. Asset->theme.css Or theme.css-> paste bellow code in bottom of file
.Header__MainNav ul > .HorizontalList__Item:nth-child(2) .DropdownMenu{ max-width: 400px;}
.Header__MainNav ul > .HorizontalList__Item:nth-child(2) .Linklist { column-count: 2;}
omg that worked. thank you SO MUCH!!!
Hello Jasoliya,
I'm looking to add multi column in Crave theme but can't find the solution anywhere. Do you know how can I do ? That's my website www.aromesetfruits.fr and my password : woflea
1. Go to Online Store->Theme->Edit code
2. Asset->base.css -> paste bellow code in bottom of file
.header__inline-menu ul.list-menu--inline > li:nth-child(3) #HeaderMenu-MenuList-3 { width: auto; column-count: 2; }
Great ! It works perfectly ! Thanks a lot.
Hey Jasoliya, I hope you have a nice day!
Could you help me with the division into two columns and with the addition of dividing line please? Here is my website https://satoryactivewear.myshopify.com
Hey Jasoliya, I hope you had a good weekend! Sure, my password: Vasilina1991
Hey Jasoliya, think I gave you the wrong password? try this one please: tauglu
Hi Jasoliya, I'm sorry if this isn't the right place to ask, but I have a similar issue to the many others who have commented. My site is Bannershallmark.com, I'm just looking to create columns for the brands and categories menus on the top bar. Do you know how I can do this? I'm using the expanse theme.
Hi @Jasoliya,
I hope you don’t mind me asking but I’m having the same issue with the Prestige theme. Currently I have approx x50 items on my brand menu so I have to split by using A-G, H-M, etc. I would prefer to just have all items split over 4 columns rather than having to use sub-menus. My site is www.frontiers-man.com. I look forward to hearing from you. Many thanks.
Hi @Jasoliya , thanks for getting back to me. I’ve not managed to do it - the workaround I have now is creating the sub-menus with A-G, H-M, etc. This allows me to have 4 columns. Ideally want to remove these but still have 4 columns.
Thanks
Sorry, @Jasoliya I don't think I was being clear. Attached is how it is just now. On my other site (which you helped with previously in this thread) I now have the brand list over 3 columns. See...
we can only increase number of column with this code.
add this
.site-header .site-navigation > li:nth-child(4) ul{column-count: 4 !important;}
I just tried to add this to the bottom of the theme.css file but didn't work unfortunately 😞
i cant see code in your theme.scss file, where you added?
or add me staff: jasoliyabrijesh123@gmail.com will check
I have just readded the code and removed the sub-menu headers. It's now one wide list of brands - see >
Invitation just sent. Thanks
No, you’re still one of my staff
User | RANK |
---|---|
155 | |
127 | |
80 | |
73 | |
69 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023