WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Centering text in main body

[Resolved] Centering text in main body

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you just want the text area wider, try changing the width parameter in #content around line 79 in style.css from ‘width: 540px;’ to ‘width: 700px;’.

    If you want to center the text, but keep it the same width, add ‘margin-left: 50px;’ and ‘margin-right: 50px;’. Play with the numbers until it looks the way you want.

    Great, but is there any way to keep the title and postmetadata frommoving along with the text?

    Take out the margin-left under #content and use this at line 118;

    .narrowcolumn .entry, .widecolumn .entry {
    line-height:1.4em;
    margin-left:100px;
    padding:10px 0 0;
    }

    Thanks very much, once again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Centering text in main body’ is closed to new replies.