mark_t
Member
Posted 8 months ago #
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.
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
Member
Posted 8 months ago #
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.