Support » Themes and Templates » Page Template Problem, help needed with sidebar…

  • Hi guys,

    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 –

    p.s. This site is brand new, so it’s bare at the moment.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    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

    .col-full {
    width: 930px;

    And in your template, change the line
    <div class="col1">

    <div class="col-full">

    Hey thanks for this… much appreciated.

    One question, are these changes only made in the page.php template file?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Template Problem, help needed with sidebar…’ is closed to new replies.