How can i add 2 columns under brands only on drop down menu Premium Cigars. Debut theme
Store is
pass: absolute
Thanks in advance
A Shopify store owner using the Debut theme wants to create a two-column layout specifically for the “Brands” section within their “Premium Cigars” dropdown menu.
Initial Solution Proposed:
header.liquid to modify submenu structure with nested list itemsbase.css file to create flex columns with specific styling for .site-nav__dropdown--columns, .site-nav__column, and .site-nav__column-titleImplementation Issue:
base.css file in their themeli class structure only appears in their mobile-nav code, not in the desktop navigationCurrent Status:
The discussion remains unresolved. The proposed solution doesn’t match the store’s actual theme file structure, requiring either:
How can i add 2 columns under brands only on drop down menu Premium Cigars. Debut theme
Store is
pass: absolute
Thanks in advance
Hello @shopcigarsnow ,
You can try to follow these steps:
Go to Online Store → themes → actions → edit code
Go to header.liquid file
Modify the submenu items code like this
- Premium Cigars
- Brands
- Brand 1
- Brand 2
-
Go to Assets folder → base.css file → add this following code at the bottom of page
.site-nav__dropdown--columns {
display: flex;
justify-content: space-between;
}
.site-nav__column {
flex: 1;
padding: 0 10px;
}
.site-nav__column-title {
font-weight: bold;
}
Save and preview
Hope this can help.
Transcy
Hello,
Thank you for the response. But I dont have a base.css file an also the li class only appears as mobile-nav.
{% for childlink in link.links %}
I couldnt change anything.