Title: Create Fullwidth page template??
Last modified: August 24, 2016

---

# Create Fullwidth page template??

 *  [tyosim](https://wordpress.org/support/users/tyosim/)
 * (@tyosim)
 * [11 years ago](https://wordpress.org/support/topic/create-fullwidth-page-template-1/)
 * Hello, I have been trying to create some of my pages to be full width ( no sidebar,
   etc.,) I have read different forums but done of the codes modifications that 
   I had played around with work. I know that I have to create a “full-width. php”
   out of my “page.php” and that I have to do some modifications in the “style. 
   css” I have been trying to do that for the last couple of days and anything seems
   to work. I would greatly appreciate if you could described step by step what 
   is that I should do to have a full width page. My website is kickly.co Thanks!
 * here is the code of the page.php:
 *     ```
       <?php
       $tzcomment      = get_post_meta(get_the_ID(),THEME_PREFIX . '_TzCommentPage',true);
   
       get_header();
       ?>
       <?php
       get_template_part('template_inc/inc','menu');
       ?>
       <section class="tz-blogbody">
           <?php
           get_template_part('template_inc/inc','leftmenu');
           ?>
           <div class="tz-Pagespace">
           </div>
           <div class="tz-blogmain">
               <?php
               if ( have_posts() ) : while (have_posts()) : the_post() ;
                   ?>
                   <div <?php post_class('tz_page_content') ?>>
                       <?php the_content();
                             wp_link_pages() ;
                       ?>
                   </div>
                   <?php
                   if($tzcomment == 'show'){
                       ?>
                       <div class="tz_portfolio_comment">
                           <?php comments_template( '', true ); ?>
                       </div>
                   <?php
                   }
                   ?>
                   <?php
               endwhile; endif;
               ?>
           </div>
       </section>
   
       <?php get_footer(); ?>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * (@antonietta456)
 * [11 years ago](https://wordpress.org/support/topic/create-fullwidth-page-template-1/#post-6138754)
 * Hi Tyosim,
 * By a full width template, do you mean to get rid of the left menu? If so, you
   need to eliminate this line of code from your page template:
 * `get_template_part('template_inc/inc','leftmenu');`
 * If it’s something else you intend to accomplish, then I need a bit more details
   starting from what exactly doesn’t work.
 * Cheers!
    -Maria Antonietta
 *  Thread Starter [tyosim](https://wordpress.org/support/users/tyosim/)
 * (@tyosim)
 * [11 years ago](https://wordpress.org/support/topic/create-fullwidth-page-template-1/#post-6138763)
 * Maria,
 * I have deleted the line of code as you’ve advised and save the fullwidth template
   php to my directory however it doesn’t show up as a choice for my page template.
   What am I missing?
 *  [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * (@antonietta456)
 * [11 years ago](https://wordpress.org/support/topic/create-fullwidth-page-template-1/#post-6138768)
 * To have a custom page template that you can select from the page editor, add 
   this comment line at the very top of your page template:
 *     ```
       <?php
       /*
       Template Name: Full Width Page
       */
       ```
   
 * Here’s the Codex article:
    [https://codex.wordpress.org/Page_Templates](https://codex.wordpress.org/Page_Templates)
 * Have a go and let me know if it works 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Create Fullwidth page template??’ is closed to new replies.

## Tags

 * [full-width](https://wordpress.org/support/topic-tag/full-width/)
 * [fullwidth](https://wordpress.org/support/topic-tag/fullwidth/)
 * [page](https://wordpress.org/support/topic-tag/page/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/create-fullwidth-page-template-1/#post-6138768)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
