Shopify themes, liquid, logos, and UX
Hello,
I am trying to remove more padding from my header on my website, even though padding is already set to 0px. Is there a way to do this? My mobile header is still too thick. Website below:
https://www.ritzclearfield.com/
Solved! Go to the solution
This is an accepted solution.
@RitzTheater, I think the reason is your logo is quite big
You can reduce the height of your logo by following these steps
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
<style>
.header__heading .header__heading-link {
padding-top: 0;
padding-bottom: 0;
}
.header__heading .header__heading-logo {
object-fit: cover;
aspect-ratio: 3 / 2;
}
</style>
If it helps you, please like and mark it as the solution.
Best Regards 😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @RitzTheater
If you like it more thinner you need to resize the image logo.
If we adjust the logo, it will be thinner.
This is an accepted solution.
@RitzTheater, I think the reason is your logo is quite big
You can reduce the height of your logo by following these steps
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
<style>
.header__heading .header__heading-link {
padding-top: 0;
padding-bottom: 0;
}
.header__heading .header__heading-logo {
object-fit: cover;
aspect-ratio: 3 / 2;
}
</style>
If it helps you, please like and mark it as the solution.
Best Regards 😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Thanks so much! That worked!
Hi @RitzTheater,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.header__heading-link {
padding: 0;
}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025