WordPress.org

Ready to get started?Download WordPress

Forums

Theme not centered (12 posts)

  1. pdking
    Member
    Posted 6 years ago #

    Hi,

    I am hoping you can help. Last month I changed my blog theme over to Jillij and have had no issues. This morning however I logged in and noticed that the whole template is off to the left. I have not made any changes ( other than mod the comments) but need help ASAP.

    Can anyone help out?

    Thanks you,
    Petra

  2. pdking
    Member
    Posted 6 years ago #

    forgot to mention here is the blog addy:

    http://www.petrakingphotography.com/blog

    Thanks

  3. sonny_b
    Member
    Posted 6 years ago #

    Try setting the body class in the CSS to

    'margin: 0 auto;'

    Should fix it.

  4. pdking
    Member
    Posted 6 years ago #

    thanks Sonny I will try that.

    Petra

  5. vietknight
    Member
    Posted 6 years ago #

    You need to change your css values for the following:

    #page {
    text-align: left;<------- center
    position: relative;
    }

    Edited:

    You have duplicate #page css declarations. Might want to remove one of those

  6. pdking
    Member
    Posted 6 years ago #

    has anyone seen a difference? I've cleared the cache many times but still no go.

  7. vietknight
    Member
    Posted 6 years ago #

    Read my previous post please.

  8. pdking
    Member
    Posted 6 years ago #

    am sorry..where do I remove the extra # page css declarations?

  9. kizer
    Member
    Posted 6 years ago #

    Changing the text alignment under #page will only change the text. Seems that what is happening is that the entire blog is shifted left instead of centered over the background. Since the css has not been changed and the problem only occured today and never before... I would suggest changing the "comments" back to the way it was and see if that helps..

    Although...

    Anyone try the link and see if this is happening? Site looks fine to me.

  10. pdking
    Member
    Posted 6 years ago #

    yup still the same. Very frusterating, not to mention looks bad for business.

  11. vietknight
    Member
    Posted 6 years ago #

    Try to get your site back to normal where, it was aligned left, but everything was in order. Then try making a div tag before the highest possible exisiting tag, and then use center tags or css declarations. This should center your blog, while keeping everything else in place.

  12. pdking
    Member
    Posted 6 years ago #

    Just an update.

    Blog is now fixed. In one of the pages it was margin 20px 20px. It has now been corrected to read margin 0 auto.

    TY

Topic Closed

This topic has been closed to new replies.

About this Topic