Support » Themes and Templates » Page Template Problem, help needed with sidebar…
6 years, 10 months ago
I want to create 1 page on my site without a sidebar. I edited the page.php file and created a template. I successfully removed the sidebar, but now the sidebar area is just blank.
Is there any way for me to centralise the page content to the centre?
You can see what I mean on my site – http://www.webbusinesspotential.com/test/
p.s. This site is brand new, so it’s bare at the moment.
The DIV that wraps the column, class=col1, specifies the width of that content.
I would create a new class with the width you want for the page and add the appropriate style to you styles.css file.
For example, in styles.css
And in your template, change the line
Hey thanks for this… much appreciated.
One question, are these changes only made in the page.php template file?