Support » Fixing WordPress » Website Changes Left/Center Alignment in Browsers

  • Resolved kickintheweb

    (@kickintheweb)


    Equinoxroof has been changing its alignment when I refresh the page in any of the major browsers. Every few minutes, the site would be left aligned, then I’d refresh, and the site would be center aligned (which is correct). Back and forth.

    I emptied cache in both W3 Total Cache and browsers caches, and this problem still occurs. No one has altered the site, no one has changed any code. The site has not been edited recently, and it used to appear properly until somebody noticed a couple of days ago.

    Here’s the website: http://www.equinoxroof.com
    Reloading the page after a couple of minutes, the site alignment will change.

    Anybody have the same issue? Any suggestions?

    Thanks in advance!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Andrew Bartel

    (@andrew-bartel)

    I have yet to see it centered and at a quick glance I don’t see anything in your stylesheet that would make it centered. The right way to do this is to create a wrapper div that begins right after your <body> tag and ends right before your </body> tag and assign that a margin: 0 auto; attribute. Are you comfortable enough with coding to do that?

    Just go to WP admin -> Appearance -> Editor and add this at the bottom…

    .full_width .page { margin: 0 auto; }
    kickintheweb

    (@kickintheweb)

    Thanks guys! Could you take a look at the site again? It’s centered without any code changes.

    [Duplicated link moderated]

    Moderator Andrew Nevins

    (@anevins)

    Front-end developer

    It doesn’t look centred to me http://awesomescreenshot.com/020smrxe1

    kickintheweb

    (@kickintheweb)

    It was centered for a minute, but yes, now it is sadly left again.

    Moderator Andrew Nevins

    (@anevins)

    Front-end developer

    Did Wpcanyon’s and Andrew Bartel’s code not work?

    kickintheweb

    (@kickintheweb)

    Their code didn’t work. Using Thesis 1.8.2 theme.

    It’ll work, give Thesis some time to create a new cached version of the CSS.

    If it doesn’t work out i’m sure Thesis has a Custom CSS field in the options, add the code there.

    kickintheweb

    (@kickintheweb)

    Ok I put it in the custom CSS. Thanks, wpcanyon! Hope it works!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Website Changes Left/Center Alignment in Browsers’ is closed to new replies.