How do i enable a full width page?

Discussion in 'WordPress' started by skitter, Sep 12, 2012.

  1. #1
    I have a page that i removed the side bar on it but the width stayed the same. I want to make the width of the page 100%.
    This is the page code:
    <?php
    /*
    Template Name: blank_page
    */
    ?>
    <?php get_header(); ?>
            
        <!-- BEGIN PAGE -->
    
        <div id="page">
        <div id="page-inner" class="clearfix">
            <div id="content">
                <?php if(have_posts()) : ?><?php while(have_posts())  : the_post(); ?>
                    <div id="post-<?php the_ID(); ?>" class="post clearfix">
                                                        
                            <h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
    
                        
                                <div class="entry" class="clearfix">
                                                                            
                                    <?php the_content(); ?> 
                                                    
                                    <?php wp_reset_query(); ?>
                                    <?php wp_link_pages(); ?> 
                                    <!-- <?php trackback_rdf(); ?> -->
                                </div> <!-- end div .entry -->
    
                                <div class="divider"></div>
    
                                <ul class="postmeta">
                                    <li>Posted by <?php the_author(); ?> - on <?php the_time('M d, Y') ?></li>
                                    <li>Category: <?php the_category(', '); ?><?php if(function_exists("the_tags")) the_tags(' - Tags: ', ', ', ''); ?> </li>
                                    <li><?php if ( comments_open() ) : ?><?php comments_popup_link('- No Comment', '- 1 Comment', '- % Comments'); ?><?php endif; ?> </li>
                                    <li><?php edit_post_link('Edit', ' | ', ''); ?></li>
                                </ul>
    
    
                                <div class="divider no_border"></div>
                                
                                
                                <div class="comments">
                                    <?php comments_template(); ?>
                                </div> <!-- end div .comments -->
                            
                            </div> <!-- end div .post -->
    
                <?php endwhile; ?>
                <?php else : ?>
                    <div class="post">
                        <h2><?php _e('404 Error: Not Found', 'etedtheme'); ?></h2>
                    </div>
                <?php endif; ?>
                                                              
            </div> <!-- end div #content -->
                
    <?php get_footer(); ?>
    
    
    Code (markup):
    Any ideas?
     
    skitter, Sep 12, 2012 IP
  2. kulwantnagi2003

    kulwantnagi2003 Active Member

    Messages:
    191
    Likes Received:
    15
    Best Answers:
    1
    Trophy Points:
    90
    #2
    kulwantnagi2003, Sep 16, 2012 IP