WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Website Changes Left/Center Alignment in Browsers (10 posts)

  1. kickintheweb
    Member
    Posted 1 year ago #

    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!

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    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?

  3. wpcanyon
    Member
    Posted 1 year ago #

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

    .full_width .page { margin: 0 auto; }
  4. kickintheweb
    Member
    Posted 1 year ago #

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

    [Duplicated link moderated]

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  6. kickintheweb
    Member
    Posted 1 year ago #

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

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  8. kickintheweb
    Member
    Posted 1 year ago #

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

  9. wpcanyon
    Member
    Posted 1 year ago #

    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.

  10. kickintheweb
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic