Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, I'm using the Dawn theme and I've noticed on desktop there's a significant padding between the top nav and the body content.
Website: www.earthtoplanet.com
and here: https://earthtoplanet.com/collections/cartoons/products/the-depreciating-value-of-popcorn
Where can I control the top-padding?
Thank you!
Solved! Go to the solution
This is an accepted solution.
Figured out this one for myself. The solution was to add the following to the base.css:
For the Featured Collection:
#shopify-section-template--14244790960243__featured_products.spaced-section {
margin-top: 0rem !important;
and for the Product Page:
#shopify-section-template--14244791124083__main.spaced-section {
margin-top: 0rem !important;
}
This is an accepted solution.
Figured out this one for myself. The solution was to add the following to the base.css:
For the Featured Collection:
#shopify-section-template--14244790960243__featured_products.spaced-section {
margin-top: 0rem !important;
and for the Product Page:
#shopify-section-template--14244791124083__main.spaced-section {
margin-top: 0rem !important;
}
Hi,
This didn't work for me, unfortunately. Is there an updated code?
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025