# Adding Disqus to Casper creates spacing on top of site

**URL:** <https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027>\
**Category:** Developer help\
**Created:** [September 11, 2019, 2:34pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027 "2019-09-11T14:34:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaodesousa](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/joaodesousa/32/4490_2.png) [@joaodesousa](https://forum.ghost.org/u/joaodesousa)\
**Post date:** [September 11, 2019, 2:34pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/1 "2019-09-11T14:34:54Z")

</div>

I just followed the official integration of Disqus and, even though it worked, it created a small spacing at the top of every post page.

You can see it at: [https://www.joaodesousa.com/o-meu-objectivo/](https://www.joaodesousa.com/o-meu-objectivo/)

I have no idea what happened, as I only changed the comment code to add Disqus.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rubel/32/242_2.png) [@Rubel](https://forum.ghost.org/u/Rubel)\
**Post date:** [September 11, 2019, 2:41pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/2 "2019-09-11T14:41:38Z")

</div>

It’s Not Bug, I Think It’s Your Missing. Please Check Code Again, There have Uncolsed div tag . check post.hbs and disquscomments.hbs again.

---

<div class="post-metadata">

**Author:** ![joaodesousa](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/joaodesousa/32/4490_2.png) [@joaodesousa](https://forum.ghost.org/u/joaodesousa)\
**Post date:** [September 11, 2019, 2:46pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/3 "2019-09-11T14:46:33Z")

</div>

I just tried uploading the Casper Theme with only having delete the commments on line 65 and 69 and the text on line 67. It still created the spacing at the top.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rubel/32/242_2.png) [@Rubel](https://forum.ghost.org/u/Rubel)\
**Post date:** [September 11, 2019, 2:51pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/4 "2019-09-11T14:51:32Z")

</div>

I want To Solve Your Problem within 30minutes If Interested Inbox Me.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [September 12, 2019, 8:40am UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/5 "2019-09-12T08:40:28Z")

</div>

Hi @joaodesousa 👋. I can’t see the extra space you’re referring to on that post page? Did you fix it?

---

<div class="post-metadata">

**Author:** ![joaodesousa](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/joaodesousa/32/4490_2.png) [@joaodesousa](https://forum.ghost.org/u/joaodesousa)\
**Post date:** [September 12, 2019, 1:32pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/6 "2019-09-12T13:32:32Z")

</div>

Hey David, yes I fixed it. No ideia how tho. I was editing post.hbs using notepad, and then tried it on Atom, and that somehow worked.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [September 12, 2019, 2:23pm UTC](https://forum.ghost.org/t/adding-disqus-to-casper-creates-spacing-on-top-of-site/9027/7 "2019-09-12T14:23:23Z")

</div>

Magic! ✨
