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.
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
@Lola1234 send me password
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 @Anderson10
I can see you already did
Best regard
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...
send me that preview url
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 >
keep all code as it is and add me staff need to check code
Invitation just sent. Thanks
You did removed my access ?
No, you’re still one of my staff
dont know i cant access store now maybe remove and add me again
Ah, thats for the wrong store. This is for Frontiers Man. I have readded you.
Could you please help me out?
Is not working for me 😞
I would like three columns for those dropdown menus that have more than five options.
https://elnumerouno.myshopify.com/
ps: reesho
@Jasoliya wrote: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.
HI @gvales271
Add this css:
#SiteNav .site-nav--has-dropdown:nth-child(2) ul{element.style {column-count: 3;}
Thank you Yasoliva for your time. You are very kind..
Sadlly is not working..
When I add that line to the very button of the Assets/theme.scss.liquid my site gets all mest up. (imagees attached)
Remove old and add this:
#SiteNav .site-nav--has-dropdown:nth-child(2) ul{column-count: 3;}
Thank you Yasoliva, it worked perfectly!!!
Is it possible to do this for Supply theme -- the menu goes down too far. Store is www.sheffieldmakershuntersbar.com password awbayp
Tr this code:
.site-nav--dropdown { column-count: 2; }
By this code they convert to 2 column but not work proper as you have sub collection also so cant adjust by this css, for that need to change other css too.
Hi Jasoliya - how could I make 2 or 3 columns under my 'By Brand' headings for the poker set and poker chip menu items? My theme is debut, and my webite url is https://gutshotpokersupply.com/.
Thanks in advance for any assistance!
Hi @ajaku3714
Add this code in asset->theme.scss file at bottom:
#SiteNav .site-nav--has-dropdown:nth-child(3) .site-nav__childlist-item:nth-child(2) ul,
#SiteNav .site-nav--has-dropdown:nth-child(4) .site-nav__childlist-item:nth-child(2) ul{ column-count: 2;}
Great, thanks a lot!
Hi I'm trying to create a multi-column drop-down menu for one of my main nav categories as well "Shop our products" - I want 6 columns next to each other instead of columns stacked underneath each other
Send currect store url.
@Jasoliya I am having a similar issue in which I have created a drop-down menu for my site with 4 categories. I would like all four to be listed beside each other across the screen but the 4th category is listed beneath the others. Could you possibly help me with this adjustment?
I successfully added this 2 column code to my theme.scss.liquid file, however it does not work on mobile. I cannot scroll or see half of the menu items in my Products by Saint drop down on mobile. Do you have solution that would work there? PioPrints.com Thanks
ok do menu it was before so i can add my code. remove your code
Menu back as before. Code now removed.
text me on email we cant use community as big chat
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024