Forums

[resolved] How do you keep the posts centered in a 3-column template (10 posts)

  1. brandi1211
    Member
    Posted 2 years ago #

    I'm trying to center the text in my posts (within the coding part) so when I make a post, they are always centered. I don't want to have to center each and every one that I write. I'm using a 3-column template.
    What is the code that I can put in the editor to fix this?
    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Site url?

  3. brandi1211
    Member
    Posted 2 years ago #

    i ended up changing my template, but just to have for future reference in case I go back i still need the help ;)

    brandisutherlin.com/blog

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I won't be able to help unless I can see the problem.

  5. brandi1211
    Member
    Posted 2 years ago #

    Ok, well I've switched over the template and now the problem I'm having is that I can't get the background content (where I write the posts) to change over to white AND remove the border around the whole center part. I can not for the life of me find it in the code to switch it over. Please help! Thanks!

  6. brandi1211
    Member
    Posted 2 years ago #

    oh... and now my pictures inside of my posts are not centering, even though my post is centered....

  7. viceng
    Member
    Posted 2 years ago #

    when you inserted the picture, you had the option to set the picture left center or right.

  8. henkholland
    Member
    Posted 2 years ago #

    Find your style.css and find this:

    .article img, img.article {style.css (regel 543)
    border:0 solid #CCCCB8;
    margin:1em;
    }

    Note: between line 2 border and line 3 margin, add:
    display:inline;
    So it look slike this:

    .article img, img.article {style.css (regel 543)
    border:0 solid #CCCCB8;
    display:inline;
    margin:1em;
    }

    That does it for Firefox (in IE it was already centered)

  9. brandi1211
    Member
    Posted 2 years ago #

    thank you henkholland, it worked with centering my picture back. I think I removed part of that code by accident, and you fixed it! ;)

    Still requesting help on the color issues as stated above:

    ("Ok, well I've switched over the template and now the problem I'm having is that I can't get the background content (where I write the posts) to change over to white AND remove the border around the whole center part. I can not for the life of me find it in the code to switch it over. Please help! Thanks!")

  10. henkholland
    Member
    Posted 2 years ago #

    Well, even those look solved now; good for you!

Topic Closed

This topic has been closed to new replies.

About this Topic