# (Squarespace) How to change space top/bottom of heading in Blog Post

**URL:** <https://community.elfsight.com/t/squarespace-how-to-change-space-top-bottom-of-heading-in-blog-post/132330>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [July 19, 2025, 2:23am UTC](https://community.elfsight.com/t/squarespace-how-to-change-space-top-bottom-of-heading-in-blog-post/132330 "2025-07-19T02:23:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [July 19, 2025, 2:23am UTC](https://community.elfsight.com/t/squarespace-how-to-change-space-top-bottom-of-heading-in-blog-post/132330/1 "2025-07-19T02:23:10Z")

</div>

To change space top/bottom of heading in Blog Post, you can use this code to Custom CSS.  
You can also use **[this free blog tool](https://go.elfsight.io/click?pid=9&offer_id=4&path=/blog-widget/)** so you can customize blog easier without using code.

```auto
div.blog-item-content-wrapper {
    h1 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    h2 {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    h3 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/0/105e1f5edc6cdedff6ff8798cff55d5b454be1de.jpeg)
