Add space between header and blog posts

Hello 

 I would like to add space between Blog header and blog posts, but I am having trouble putting a spacer in between, is there other methods?

Thanks!

1,482 Views
Message 1 of 9
Report
8 REPLIES 8
Square

Can you post a link to your site, @annandann? It would help our Community members to see the live code.

1,474 Views
Message 10 of 9
Report

Hello Adam

Sorry, forgot to put my link up. www.yiannchen.com

Thank you!

1,473 Views
Message 10 of 9
Report

Add this to the Header Code field for your blog page on the Pages tab and it will add 25 pixels of space under each blog post on the live site:

<style>
    .blog-post
    {
        margin-bottom: 25px !important;
    }
</style>

1,470 Views
Message 10 of 9
Report

Hello @BJ 

Thank you so much for your help! I tried the code but it only changes the height between blog posts not the height between blog header page and the first blog post.

Is there any chance that you also know how to manage that? 

Thank you!

1,467 Views
Message 10 of 9
Report

Ok - try this:

<style>
    .main-wrap
    {
        margin-top: 50px;
    }
</style>

It will add 50 pixels of margin above the top blog post.

1,466 Views
Message 10 of 9
Report

Hello @BJ 

It worked!!! Thank you so much! You made my day!

1,461 Views
Message 10 of 9
Report

Hi BJ,

I'm also having this problem. My website is elizabethsaucier.weebly.com. I want to add space between blog posts on my blog page here: https://elizabethsaucier.weebly.com/blog. I tried entering the codes both on the Pages section and Blog settings for both footer and header, but nothing has worked. Please advise.

Elizabeth

1,098 Views
Message 10 of 9
Report

Try using this @lizzsau33:

<style>

.blog-post { padding-bottom: 50px !important; }

</style>

1,092 Views
Message 10 of 9
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.
grz-custom-initialLetter