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!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025