Shopify themes, liquid, logos, and UX
Hello! Totally stumped on how to remove this white space between my blog post content and header- I've tried removing/adjusting padding for the entire site code, tried to look for blog post/article padding, but I'm unfamiliar with CSS and am totally stumped.
As you can see the white space isn't connected to the header/elements directly below it, but with the blog post itself.
Currently my theme.liquid also includes:
<style>
.section-header {
margin-bottom: 0 !important;
}
</style>
<style>:is(.spaced-section) { margin-top:0!important } @media screen and (min-width: 750px) { :is(.spaced-section) { margin-top:0!important }}</style>
</head>
Any help would be greatly appreciated!
Eileen
Solved! Go to the solution
This is an accepted solution.
Hey @eileendraws
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
header.page-width.page-width--narrow {
margin-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @eileendraws
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hi! Thank you for replying!
My store url is: https://eileendraws.com/
The specific page showing this error is: https://eileendraws.com/blogs/eileendraws-comics/test-blog-post-comic
This is an accepted solution.
Hey @eileendraws
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
header.page-width.page-width--narrow {
margin-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Oh my goodness you're a lifesaver! Thank you so much, I appreciate the help!! 👏👏🌟
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025