I’d like to increase the space in the sub-menu (as in the general menu) and place the menu in the centre., like in the image :
Obviously on a computer, on a phone this is ok.
Hello @Astrid_brae
Please share the store URL.
Hi @Astrid_brae ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file → Save
nav div[id^="menu"] ul {
justify-content: space-around !important;
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
Hello @Astrid_brae
Can you share store URL?
Hi,
I don’t have base.css, theme.css, styles.css or theme.scss.liquid I have “base.bundle.css”
Can I put this code here ?
Thanks
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @Astrid_brae , You can try to add this CSS code to bottom of ‘**base.bundle.css’**file. Hope this can help you ![]()
Thank you very much for your help !! ![]()



