Hey everyone,
Ive got this unwatned gap between my header and feature product.
I’ve tried all the layout settings but hasn’t changed anything and ive tried a few codes i’ve found on here but nothing works.
It’s the small green section I’m trying to get rid of!
https://1xes1x-bj.myshopify.com/
Thank you!
2 Likes
You added this code somewhere in theme.liquid or header.liquid file, which caused the issue.
@media screen and (min-width: 750px) {
.section-header {
margin-bottom: 24px;
}
}
Please remove this code. If you cannot find and remove it, please add this code to your theme.liquid file
Hi @Sammy113 ,
Go to Online Store > Themes > Actions > Edit Code > base.css
Add below code at the bottom of base.css file
@media screen and (min-width: 750px) {
body .shopify-section-group-header-group.section-header {
margin-bottom: 0 !important;
}
}
Hi @Sammy113
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
@media (min-width: 768px) {
html .section-header {
margin-bottom: 0 !important;
}
}
Best,
Liz
1 Like
Thank you so much!! This worked perfectly!