• Hi,

    I am starting a new site at https://www.phpcoder.org/ on the forums page I want to change it so only the right hand menu appears and the middle content area extends out to cover where the left menu is to provide more real estate for the forums.

    Can anyone let me know whether it is possible to change layout to be set in that way for a specific page?

    Cheers
    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • This might help: Pages#Page_Templates

    If this is a Page — super easy. Make a new template, and in the Edit Page screen scroll down and select that page template. There’s some code at the top of the php file needed to make a template:
    <?php
    /*
    Template Name: whatever
    */
    ?>
    then add the code you want from the regular page, making a <div> that is big enough, and not pulling in the menu area.

    If this is a post, I think you need conditional code to use the new <div> instead of the default from the rest of the site. You could also try a category template and use the “force category template” but this would affect all of your site.

    Personally I’d extend to the right and not the left. There’s more real estate that direction.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change the menu/page layout for one page’ is closed to new replies.