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.
for that need code changes, but you can do smart and fast way by adding this
.site-nav__dropdown-link{ overflow: hidden;text-overflow: ellipsis;}
.site-nav__dropdown>li{max-width: 365px;}
Hopefully this thread is still alive:
How would you go about creating multiple columns within the brands dropdown for optical-heights.com?
Thank you for your time!
@Jasoliya (I'm sorry if this is rude)
you have already column in menu .. in which menu want column?
I solved the issue, thank you though!
Sorry about that!!!
hi thanks ,it did work.
but now ive moved nav bar layout and the wrong column is double drop down.
for example CBD campaign should be 1 single column and Knowledge centre should be 2 or 3 rows if possible .
https://thehemp-hacienda.co.uk/
best regards
hamish
This also worked for me with Brooklyn theme!
Thank you
add in any css file
Hi @ML2391
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss Or theme.css-> paste bellow code in bottom of file
Note: Its for "SHOP BY CATEGORY" menu only
.site-nav > li:nth-child(4) ul{ column-count: 2;}
Instead of having theme.css, I have a theme.js (entered the code and it didn't work).
Would this have to be converted to JSON?
Hello @Jasoliya
my store URL www.m-fitaihi.com
I have been trying for days now to create a multi column drop down menu for my theme. under designers, i will have some collection for each designer. could you please advice on the code? I've never use this community before and I'm not sure if that's the right way to go about it.
sorry if I'm jumping in any conversation
thanks a lot for your help 🙂
So in which menu you want to make two column menu? i think you have all short menu no need.
Hello @Jasoliya,
I found one of your replies a while ago and was able to integrate it into my site. As we have grown though our brand menu continues to expand, and if I add a new column now it goes off of the screen. Is there a way to move the menu to a more central location like some of my other larger menu dropdowns? For example, the menu for "Our Store" drops down in the center of the screen, despite being the last menu item. Ideally, the "Brands" menu would do the same. My site is www.appalachianoutfitters.com. I appreciate any help you can provide.
Thanks,
Kevin
Hi @Jasoliya
How would I add a drop down menu with 4 columns on a debut theme on page 'makers'
Send your store password.
I thing you have already done
Hi @Jasoliya,
the code is not working for me. I want to split 3 columns in dropdown menu All Categories.
Send me your store url so i can check
Hi Jasoliya,
How would I go about getting the multi column dropdown for travelkarma.com? Created in Debut theme.
HI @HC-SD
You can add css like:
@media only screen and (min-width: 767px) { .site-nav__childlist{ column-count: 2;} }
Note: you have to remove empty menu from blog "LIFE"
Thanks for your help, it works.
How would you add a multi-column dropdown for Shop on Clearwaterlights.com?
Thank you,
Hi @TeamSimpson
As per your menu i have create code just for "Shop" menu.
Add this css in Asset->theme.scss file at bottom:
.nav-bar .has-dropdown:first-child .dropdown { column-count: 2;min-width: 550px;}
Note: it will just affect on first menu 'Shop' so dont change it position
That worked perfect, Thank You!!!
Hi @Jasoliya
I am trying to add 2 column drop down in Minimal Theme with your code but it does not working.
Can you help me for this case.
I really appreciate that help.
Send me your store url
My Store url: scotsprint.myshopify.com
Password to view is: 1234.
Please help me check my store. Thank you
HI @MinhNguyen
Add this css in asset->theme.scss file at bottom:
#MenuParent-1{column-count: 2;}
OMG, thank you so much, It's work on Pc theme. But in the mobile theme it still the same.
May I ask your help again, if you have a free time.
Add this css:
#MobileNav-Parent-1{column-count: 2;}
That's perfect, Thank Jasoliya. Have a nice day!
Hi Jasoliya, I've read all of your streams but still can do it. Can you suggest a solution so that the drop down manu of Cataloge and others showsin two/three columns? Here's my shop link:
https://www.milkywaytrading.co.uk/
Will be extremely grateful
You're a STAR! Heres how I did it: Pasted it in themes.scss.liquid but changed the value of the code as per my requirement. #MenuParent-1 means first button from left. i changed it to #MenuParent-2{column-count: 2;} and another line #MenuParent-3{column-count: 2;}
#MenuParent-1{column-count: 2;}
See the picture for reference.
Thanks guys!
Hello Jasoliya,
How about only one sub-menu of a menu? If that is the only one that I need to be made on two columns?
It is for the 'Sarees' submenu under 'Products' for site sixyardsplus.com.
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
@media only screen and (min-width: 767px) {
#MenuParent-2 .site-nav__item:nth-child(3) .site-nav__dropdown-grandchild{width:auto;}
#MenuParent-2 #MenuChildren-2-3{ column-count: 2;}
}
Fantastic! Thank you so much! That worked, as expected!!
One thing I was looking up, was if there was a way to put a menu separator - a line between groups of related menu items. But I could not find a way to do that. Would appreciate if there are some ideas on this.
Can you show me by screenshot i am not getting exact, will check if that possible then will share code.
Hi @Jasoliya
This is exactly how i am trying to get the layout.
i also am trying to center logo if possible.
My understanding is I need to have 2 navigation menus example menu 1 and 2 and then in the code to center the logo
The second is for the items not to go further than 14 rows if this make sense
I cant access your store, you can send me your .myshopify store url ?
magiccloudsv.myshopify.com
password ezeezu
You have already option with theme editor to move logo in center.
Check your theme editor->header
Hello,
I just can't find theme.scss file.
I have theme.css file and I added your code but my drop down menu is still in 1 column.
Could you please help me?
I am trying to split the peekers>shows section into 3-4 columns instead of 1 long one.
Using Impulse theme
Thanks for your help!
Try to use this:
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
@media only screen and (min-width: 767px) {
.header-item--split-left .site-navigation:first-child > .site-nav__item:first-child .grid__item{column-count: 4; width: 40%;}
}
that worked. thank you so much!
Hi @Jasoliya
Can you help me.
I am trying to add 5 column drop down menu that have more than five options in Minimal theme.
I tried your code but it is not working.
Website link: https://minimall.ph/
Thank you in advance.
Add this css
.site-nav .site-nav--has-dropdown:nth-child(3) ul{column-count: 5; background: white;}
Je n'arrive pas à faire des menus déroulants. Tu es arrivé à le faire. Peux-tu m'aider ? Merci.
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024