Support » Themes and Templates » Changing the column width for posts (default theme)

  • Resolved mark_t

    (@mark_t)


    I want to increase the width of the text box for the single post page. I changed the “.widecolumn” so that width = 600px and adjusted the fourth margin parameter to 75px in style.css. I thought this would increase the width of the text box whilst keeping it centred, unfortunately WordPress totally ignored these changes. (Yes I did update the file). So does anyone know how I can adjust the column widths and ultimately the width of the full page?

    Thanks, Mark.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Samuel B

    (@samboll)

    chaoskaizer

    (@chaoskaizer)

    You’ll need to tweak it a bit, the below workaround will increase the entry content width on single entry page. Add the code ↓ inside your theme’s header.php place it before the closing head tag (</head>) .

    <?php if(is_single()): ?>
    <style type="text/css">
    .widecolumn { margin:0pt auto; width:600px }
    </style>
    <?php endif; ?>
    mark_t

    (@mark_t)

    That worked fine, thanks for your help.

    I don’t know enough about php or css to know why it worked but it looks fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the column width for posts (default theme)’ is closed to new replies.