Title: alignment changed when header is fixed
Last modified: February 5, 2021

---

# alignment changed when header is fixed

 *  [macstinger](https://wordpress.org/support/users/macstinger/)
 * (@macstinger)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/alignment-changed-when-header-is-fixed/)
 * Not sure what happens but sometimes all the pages’ headers get out of line when
   the header is fixed. It’s like the contents pushed upward behind the menu/header.
 * [https://i.postimg.cc/qqgNHVCx/woos-2.png](https://i.postimg.cc/qqgNHVCx/woos-2.png)
 * [https://i.postimg.cc/k5cGVXQy/woos1.png](https://i.postimg.cc/k5cGVXQy/woos1.png)
 * I hope you can help. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Falignment-changed-when-header-is-fixed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [dylan ngo](https://wordpress.org/support/users/duongancol/)
 * (@duongancol)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/alignment-changed-when-header-is-fixed/#post-14017112)
 * Hi! Did you fix that issue?
    I couldn’t find it on your site.
 * Thanks!
 *  Thread Starter [macstinger](https://wordpress.org/support/users/macstinger/)
 * (@macstinger)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/alignment-changed-when-header-is-fixed/#post-14020248)
 * Not yet. I revert it back to “relative” position for now. The problem happens
   when the position of header is “Fixed” using css.
 * Here’s the code I use when the alignment problem occurs:
 * .site-header-inner {
 * background:#0F2B5B;
 * height:110px;
 * z-index:170;
 * margin: 0 auto;
 * border-bottom:0px solid #dadada;
 * width:100%;
 * position:fixed;
 * top:0;
 * left:0;
 * right:0;
 * text-align: center;
    -  This reply was modified 5 years, 4 months ago by [macstinger](https://wordpress.org/support/users/macstinger/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘alignment changed when header is fixed’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/woostify/2.5.2/screenshot.png)
 * Woostify
 * [Support Threads](https://wordpress.org/support/theme/woostify/)
 * [Active Topics](https://wordpress.org/support/theme/woostify/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/woostify/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/woostify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [macstinger](https://wordpress.org/support/users/macstinger/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/alignment-changed-when-header-is-fixed/#post-14020248)
 * Status: not resolved