ilikecoffeepaper
Member
Posted 1 year ago #
Hello,
I'm trying to figure out how I stretch my content across the full length of my header on all the pages but the main blog. My site is here. Right now, I am using the Content-Sidebar layout for the blog page, and the rest of the pages use a template I created called 'pagenosidebar.php'. This is just page.php without the sidebar included, so the sidebar is not there but the content area still only stretches part way.
Thanks!
you'll probably need to change the width of the content area in your css to fit the new template (might be a good idea to create a new id or class for this so it doesn't stuff up your regular pages!).
using the body_class generated for the template, you could try to add these styles to style.css:
.page-template-pagenosidebar-php #content,
.page-template-pagenosidebar-php #content-container
{ width:100%!important; }
ilikecoffeepaper
Member
Posted 1 year ago #
Great, worked perfectly! Thanks.