As you can see below, the drop-down menu for some items is too wide. This is in the Boost theme.
This looks good . . .
This has too much space . . .
Can anyone help me change this?
Site: sugarmonsterkids.com
As you can see below, the drop-down menu for some items is too wide. This is in the Boost theme.
This looks good . . .
This has too much space . . .
Can anyone help me change this?
Site: sugarmonsterkids.com
Hi there!
Are you familiar with the CSS section in the Theme Editor? Try adding this code into the CSS section of your Navigation Bar:
.mega-dropdown {
max-width: fit-content;
left: auto !important;
}
.grid {
display: inline-flex;
grid-column-gap: 30px;
margin-left: -70px !important;
}
Make sure that it works on mobile as well! If it doesn’t work you can use @media screen to implement the CSS for Desktop only.
It should look like this (I hope that’s what you wanted?!):
I’m not an expert in this but you could try to force overflow/prevent line breaks with
white-space: nowrap;
Make sure to target the right element.
That worked perfectly! Thank you for all your help!