# Static home page alignment different from other pages

**URL:** <https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823>\
**Category:** Developer help\
**Created:** [November 15, 2021, 7:48am UTC](https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823 "2021-11-15T07:48:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hvgrinsven](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@hvgrinsven](https://forum.ghost.org/u/hvgrinsven)\
**Post date:** [November 15, 2021, 7:48am UTC](https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823/1 "2021-11-15T07:48:26Z")

</div>

- **What’s your URL**? [https://eventmuziek.nl](https://eventmuziek.nl)
- **What version of Ghost are you using?** Updated yesterday

I used [this forum post](https://forum.ghost.org/t/use-a-page-as-a-home-page/19942) to use a static page as the home page for my website [https://eventmuziek.nl](https://eventmuziek.nl)

But after uploading the adjusted Theme, my homepage is aligned all to the left instead of centered like all othere pages. What am I doing wrong?

My home.hbs looks like this:

{{!\< default}}

{{#page}}

 {{\> post-header }} {{ content }}   

{{/page}}

---

<div class="post-metadata">

**Author:** ![inoryum](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/inoryum/32/11866_2.png) [@inoryum](https://forum.ghost.org/u/inoryum)\
**Post date:** [November 15, 2021, 1:22pm UTC](https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823/2 "2021-11-15T13:22:07Z")

</div>

Its because of the html markup is not same as your other pages… quick fix is to add ` kg-canvas` class

Your current codes

```auto
<article class="c-post page ">
  <header class="post-header">
        <h2 class="post-title">
            <a class="post-title-link" href="/home/">Home</a>
        </h2>
</header>
  <section class="c-content">
    <p>This is a great page</p>
    <br>
  </section>
</article>

```

Now add `kg-canvas` class to `aricle` Like below

```auto
<article class="c-post page kg-canvas ">
.......
......
</article>

```

It will be centered aligned

---

<div class="post-metadata">

**Author:** ![hvgrinsven](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@hvgrinsven](https://forum.ghost.org/u/hvgrinsven)\
**Post date:** [November 15, 2021, 1:56pm UTC](https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823/3 "2021-11-15T13:56:53Z")

</div>

> [@inoryum](#):
>
> `kg-canvas`

Thanks for your help! kg-canca did the trick!

---

<div class="post-metadata">

**Author:** ![inoryum](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/inoryum/32/11866_2.png) [@inoryum](https://forum.ghost.org/u/inoryum)\
**Post date:** [November 15, 2021, 2:14pm UTC](https://forum.ghost.org/t/static-home-page-alignment-different-from-other-pages/26823/4 "2021-11-15T14:14:25Z")

</div>

You are welcome!
