Title: Creating Full Width Template
Last modified: August 22, 2016

---

# Creating Full Width Template

 *  [inyour4head](https://wordpress.org/support/users/inyour4head/)
 * (@inyour4head)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/)
 * I’m having trouble creating a full width template for my website and would appreciate
   any help. First of all, I’m using the Adam’s Magazine premium wordpress theme
   and I have researched the process of creating a new template but cannot find 
   an answer to my problem. After creating a new fullwidth.php template I am unable
   to rip off the sidebars because there is no sidebar code to delete. So, I’ll 
   just post my original page.php code for those of you more familiar with the process
   and it would be great if you could alter the code and re-post it for me, and 
   include any additional instructions for completing the template change(css, etc.)
   as well.
 * Again, thanks for your help as its much appreciated. 🙂
 * Here’s the original page.php code;
 * <?php
    /** * The template for displaying all pages. * * This is the template 
   that displays all pages by default. * Please note that this is the WordPress 
   construct of pages * and that other ‘pages’ on your WordPress site will use a*
   different template. * * [@package](https://wordpress.org/support/users/package/)
   Serpentsoft * @subpackage Adams_News 1.0 * [@since](https://wordpress.org/support/users/since/)
   Adams News 1.0 */
 * get_header(); ?>
 * <!– main content –>
    <article itemscope itemtype=”[http://schema.org/Article&#8221](http://schema.org/Article&#8221);
   role=”main” <?php post_class(“article-container”); ?>> <div class=”row-fluid”
   >
 *  <?php $get_meta = get_post_custom($post->ID); ?>
 *  <?php while (have_posts()) : the_post(); ?>
 *  <div class=”article-content”>
    <header> <?php serpentsoft_single_breadcrumb();?
   >
 *  <div class=”figure-container”><?php serpentsoft_post_banner_show(); ?></div>
 *  <h1 itemprop=”headline”><?php the_title(); ?></h1>
 *  <?php serpentsoft_single_meta_info(); ?>
 *  </header>
 *  <span class=”clearfix”></span>
 *  <div class=”post-entry” itemprop=”articleBody”>
    <?php if (isset($get_meta[‘
   serpentsoft_post_review_types’][0]) && $get_meta[‘serpentsoft_post_review_types’][
   0] != ‘disabled’) { switch ($get_meta[‘serpentsoft_post_review_position’][0]){
   case ‘top’: { serpentsoft_post_reviews(); the_content(); } break;
 *  case ‘bottom’: {
    the_content(); serpentsoft_post_reviews(); } break;
 *  /* case ‘topbottom’: {
    serpentsoft_post_reviews(); the_content(); serpentsoft_post_reviews();}
   break; */
 *  default:
    the_content(); break; } } else { the_content(); } ?>
 *  </div>
 *  <div class=”clearfix”></div>
 *  <?php serpentsoft_post_social_share_buttons(); ?>
 *  </div>
 *  <?php endwhile; // end of the loop. ?>
 *  <!– Article Footer Start from author bio to comments box –>
    <footer>
 *  <?php while (have_posts()) : the_post();
 *  //Post Tags
    serpentsoft_single_tags_box();
 *  //Author Biography
    serpentsoft_single_author_bio();
 *  endwhile; // end of the loop.
 *  //Related Posts
    serpentsoft_single_related_posts(); wp_reset_query();
 *  while (have_posts()) : the_post();
    //Posts Navigator serpentsoft_single_navigation();
   endwhile;
 *  wp_reset_postdata();
 *  //Members Comments
    serpentsoft_comments_box(); ?>
 *  </footer>
    </div> </article>
 * <!– Closing Span6 Main Content –>
 * <?php get_footer(); ?>

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

 *  Thread Starter [inyour4head](https://wordpress.org/support/users/inyour4head/)
 * (@inyour4head)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/#post-5556011)
 * Anyone have any ideas??
 *  [ChocoTUx](https://wordpress.org/support/users/chocotux/)
 * (@chocotux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/#post-5556012)
 * Hi, you can edit css style in your teamplate (style.css). If you want redesign
   old template, you must edit more .php pages like header.php etc…
 * function get_header() call header.php but it isnt only part before </head>. Just
   look to this page.
 *  Thread Starter [inyour4head](https://wordpress.org/support/users/inyour4head/)
 * (@inyour4head)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/#post-5556032)
 * Thanks for your response.
 * From my understanding I have to create a new fullwidth.php template using my 
   original page.php code with a few modifications such as ripping off the sidebars
   and renaming it, as well as make a couple changes in css. Am I right?
 * My goal is to create a full width template option in the drop down menu so I 
   can make my pages/posts full width as needed.
 * I apologize for my lack of understanding but this is all pretty new to me.
 *  Thread Starter [inyour4head](https://wordpress.org/support/users/inyour4head/)
 * (@inyour4head)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/#post-5556080)
 * Anyone else have any ideas?

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

The topic ‘Creating Full Width Template’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [inyour4head](https://wordpress.org/support/users/inyour4head/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/creating-full-width-template/#post-5556080)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
