How can I arrange my menu items into two lines?

How can I arrange my menu items into two lines?

IntechCarl
Shopify Partner
194 1 20

Hi everyone,

 

I have added some items in my menu, but the problem is they overlap into 2 lines, so now I'm thinking to make it into 2 lines with equal qty of items per line. Please help!

 

Store URL: thecleanroom.net

See the photo for reference:

IntechCarl_0-1707372697144.png

 

Replies 4 (4)

Markit-Themes
Shopify Partner
297 62 51

Hi,

 

Go to Online Stores -> Themes -> Customize -> Theme Settings -> Custom CSS and add below code:

 

.header__inline-menu {
max-width: 720px;
}

 

1.png

 

Regards,

Emirates7

 

Did I help you? Give back by planting a tree here.
Free Shopify 2.0 Themes
IntechCarl
Shopify Partner
194 1 20

Thank you so much!

Developer1481
Shopify Partner
4 0 0

It is not working in my case.

IntechCarl
Shopify Partner
194 1 20

@Developer1481 Try adding these codes to your collection list css codes:
@media screen and (max-width: 749px) {
.collection-list .collection-list__item {
max-width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
}
}