How to stretch the page width
-
Hi my site is https://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(); ?>
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to stretch the page width’ is closed to new replies.