How to stretch the page width (3 posts)

  1. browardsaves
    Posted 3 years ago #

    Hi my site is http://browadsaves.com
    and I succesfully removed the sidebar from a page but I need to stretch the page so it will look nicer.
    here's my page template code:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser. ]

    <?php get_header(); ?>
    	<div class="<?php if (!is_page(7240)) : ?>myclass<?php else : ?>myclasswider<?php endif; ?>">}
    		<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    		<div class="posttop">
    			<div class="postcomments"><?php comments_popup_link('0','1','%'); ?></div><!-- END postcomments -->
    			<h2></a><a>"><?php the_title(); ?></a></h2>
    			<div class="postinfo small">
    				Posted on <?php the_time('F j, Y'); ?>   <?php edit_post_link('(Edit)', '', ''); ?>
    			</div><!-- END postinfo -->
    		</div><!-- END posttop -->
    	    <div class="postwrap">
    			<?php the_content('read more'); ?>
    	    </div><!-- END postwrap -->
    		<div class="postbottom"></div><!-- END postbottom -->
    		<?php endwhile; ?>
    		<?php else : ?>
    		<?php endif; ?>
    	</div><!-- END contentwrap -->
     <?php if (is_page(7240)) : ?>
    <?php else : ?>
    <?php get_sidebar(); ?>
    <?php endif; ?>
    <?php get_footer(); ?>


  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    The layout of a page is controlled by CSS -- so you'll need to post a link to the actual site. And PLEASE use backticks for posting code -- or the code button (right above the entry box).

  3. browardsaves
    Posted 3 years ago #

    my site is http://browardsaves.com
    how do I use CSS?

Topic Closed

This topic has been closed to new replies.

About this Topic