Shopify themes, liquid, logos, and UX
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
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025