Support » Fixing WordPress » How to un-center entire site

  • Hi,

    My name is Jacob and I am a review editor for Film International, a site run through wordpress. For some reason unbeknownst to me or the editor-in-chief, the site has reverted to center alignment across the board (rather than left allignment, which is what it should be). We are not in direct contact at the moment with the woman who set up the site, so I’m hoping someone here can help me get things back to default.

    The site can be found at filmint.nu if that is at all helpful.

    Thank you very much in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • First, I’d check for changes in your theme’s css.

    If you have access to a back-up of your theme, uploading and activating it would be the easiest.

    Otherwise, try searching your theme’s stylesheet(s) for “text-align: center” (with and without the space after the colon) to find the highest level specification, probably body, maybe p. Change it to left.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    No point in changing the theme’s files as those changes will be erased when the theme updates.

    If your theme doesn’t support CSS customisations then make your CSS modifications in either a Custom CSS plugin or a Child Theme style.css file.

    The theme originally aligned text left, from what I understand here. So, I’m talking about changing the CSS back to it’s original state. So, an upgrade would also set the text as left-aligned. There should be no issue with this solution.

    Andrew’s thinking is apt when you’re changing the CSS away from the original styling.

    I don’t see any centered text – and the question seemed to be about the entire site being centered?

    The site itself is centered via this CSS:

    #wrapper {
        background: none repeat scroll 0 0 #FFFFFF;
        margin: 0 auto;
        padding: 0 5px 7px;
        width: 970px;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to un-center entire site’ is closed to new replies.