Hi everyone,
Below is an example from my page. I’d like to be able to control the number of categories on each row.
For instance, below there are 7 categories with subs at the top and 3 below.
I’d like to change this to instead have 5 and 5 on each row.
@LitExtension is this something you could help with too?
Hi @Tupperton , please share url
Hi @Tupperton ,
Please send your site and if your site is password protected, please send me the password. I will check it.
Hi @Tupperton , go to edit code > assets > component-menu-dropdown.css, find this:
.list-mega-menu {
column-gap: 3rem;
}
And delete it.
Find this:
.list-mega-menu {
flex: 1 1 100%;
display: flex;
flex-wrap: wrap;
row-gap: 3rem;
column-gap: 2rem;
}
And replace it with:
.list-mega-menu {
flex: 1 1 100%;
display: flex;
flex-wrap: wrap;
row-gap: 3rem;
}
Find this:
.mega-menu__item {
flex: 1 1 auto;
max-width: 22rem;
page-break-inside: avoid;
break-inside: avoid;
}
Replace it with:
.mega-menu__item {
flex: 1 1 auto;
max-width: 22rem;
page-break-inside: avoid;
break-inside: avoid;
width: 20%;
}
2 Likes
Beautiful! That worked perfectly!
LGD
August 25, 2024, 5:44pm
7
Hello,
I have the same issue on:
https://lovegrown.diamonds
I am using the Kalles them by the4
and I do not have component-menu-dropdown.css.
There is a mega-menu.css file though.
I have the same issue, IIt allows maximum 3 items (collections) per row and I want them to all be in the same row. Could you please help me with that as well?