Solved

Totally Stumped- How to Remove White Space between Blog Post and Header? (Dawn Theme)

eileendraws
Visitor
3 0 0

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.
chrome_gnj8gdgj56.pngchrome_b1Hbcaake2.png

 

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 

Accepted Solution (1)
Moeed
Shopify Partner
3697 932 1166

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:

Moeed_0-1705312456770.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
3697 932 1166

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

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
eileendraws
Visitor
3 0 0

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

Moeed
Shopify Partner
3697 932 1166

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:

Moeed_0-1705312456770.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
eileendraws
Visitor
3 0 0

Oh my goodness you're a lifesaver! Thank you so much, I appreciate the help!! 👏👏🌟

Moeed
Shopify Partner
3697 932 1166

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.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️