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.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025