Hello everyone
I need some help with deleting space between header and blogpost / blogpost and footer. I have attached two photos showing each red circle part (saying deleting white section). Thanks for it!!
A user seeks to remove unwanted white space appearing between the header and blog post content, as well as between the blog post and footer on their Shopify store. They provide screenshots highlighting the problematic spacing areas.
Store Details Provided:
Solutions Offered:
Two CSS-based fixes were proposed:
First solution: Add CSS to theme.css file targeting .scroll-trigger.animate--slide-in .article-template__back.element-margin with margin: 0
Second solution (accepted): Add CSS to base.css file:
article.article-template .page-width with margin: auto!important.article-template__back with margin: auto!important and padding-top: 20px!importantResolution:
The user confirmed the second solution worked successfully, resolving the spacing issues. The discussion is now closed with the problem solved.
Hello everyone
I need some help with deleting space between header and blogpost / blogpost and footer. I have attached two photos showing each red circle part (saying deleting white section). Thanks for it!!
Hey @ingeon
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
Hello There,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
Hello @Moeed
Thanks for this. This is the store URL, and Password is sheest
Hello ZestardTech
This is URL and password >> sheest
Hello Moeed
This is URL and password >> sheest
Hello Ingeon,
There is an issue with margin which is added on article. kindly put below css on theme.css .
“.article-template__back.element-margin-top.center.scroll-trigger.animate–slide-in { margin: 0; }”
Let me know if you need any other help. i will help your for that.
Thank you
Hello There,
article.article-template .page-width{
margin: auto!important;
}
.article-template__back {
margin: auto!important;
padding-top: 20px!important;
}
Dear @ZestardTech
Thank you for the solution. it works well !!!
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.