Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi, I'm hoping someone can figure out how to remove this white gap below the header.
I've tried a lot of methods in different threads, but had no success. My theme file is .css, not .scss
My website is www.checkoutfirst.com
thank you!!
Solved! Go to the solution
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
@media screen and (max-width: 749px){
#PageContainer {
padding-top: 53px !important;
}
}
Thanks!
Welcome to the Shopify community!
Thanks for your good question.
kindly share your store URL, so that
I will check out the issue and provide a solution.
@media only screen and (min-width: 600px) {
.index-section--flush:first-child {
margin-top: -50px !important;
}
}
@checkoutfirst
Add this code in the bottom of the theme.css file and save it.
Thank you
This didn't work
@media only screen and (min-width: 750px) {
.hero--x-small {
height: 94px;
margin-top: -48px !important;
}
}
@checkoutfirst
Add this
Go to theme.css
Fine the class name ".main-content"
remove the padding -top: 35px;
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
@media screen and (max-width: 749px){
#PageContainer {
padding-top: 53px !important;
}
}
Thanks!
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025