Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi Shopify Community
I need to split the menu into the 4 columns I am using the Kalles theme, below is screenshot and URL for reference
Thank you
Solved! Go to the solution
This is an accepted solution.
Hey @AhmerAli,
Please paste this CSS into the Theme Customizer -> Settings -> Custom CSS
.t4s-lazy_menu[data-handle="collections"] {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
}
You will find it here.
If this doesn't work please go to you Theme's "Edit Code" option and paste this on top of the file named "base.css", "styles.css" or "theme.css"
This is an accepted solution.
@AhmerAli put this code under the base.css
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu {
left: 0;
right: 0;
}
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu>.t4s-lazy_menu>div[bis_skin_checked="1"] {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu>.t4s-lazy_menu>div[bis_skin_checked="1"]>div {
min-width: 25%;
}
if your issue is solved hit like and mark it as solution>
This is an accepted solution.
Hey @AhmerAli,
Please paste this CSS into the Theme Customizer -> Settings -> Custom CSS
.t4s-lazy_menu[data-handle="collections"] {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
}
You will find it here.
If this doesn't work please go to you Theme's "Edit Code" option and paste this on top of the file named "base.css", "styles.css" or "theme.css"
Thanks The Prime Web, it worked when it worked when I pasted it in base.CSS
This is an accepted solution.
@AhmerAli put this code under the base.css
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu {
left: 0;
right: 0;
}
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu>.t4s-lazy_menu>div[bis_skin_checked="1"] {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}
#t4s-nav-ul>li:nth-child(3) .t4s-sub-menu>.t4s-lazy_menu>div[bis_skin_checked="1"]>div {
min-width: 25%;
}
if your issue is solved hit like and mark it as solution>
Thanks man it worked, now the menu is as per my requirement.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024