Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I want to make my header menu have less empty padding, and I couldn't find a working solution for top center position.
I want to cut off the parts in red, to make my menu slimmer.
https://r20561-af.myshopify.com/
Password: theaba
Solved! Go to the solution
This is an accepted solution.
Hi Sicilia2025
- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-account {
padding: 0 32px !important;
}
Result:
Best,
Esther
Hello @Sicilia2025
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-account {
padding: 0px !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
This is an accepted solution.
Hi Sicilia2025
- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-account {
padding: 0 32px !important;
}
Result:
Best,
Esther