How do I extend usable area to entire width of page??
-
Hello. Here is the link to a specific page on my site.
As you can see, I am trying to install a forum on this page.
I created a new page template called nosidebars.php and removed the sidebars from this template. However, Im not sure how to extend the margins to the entire width of the page…
Any input??
Here is the contents of nosidebars.php:
</php /* Template Name:nosidebars */ ?> <div class="contentLayout"> <center> <?php get_header(); ?> <div id="content-fullwidth"> <div class="content"> <div class="Block"> <div class="Block-body"> <div class="BlockContent"> <div class="BlockContent-body"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> <div class="BlockContent-tl"></div> <div class="BlockContent-tr"><div></div></div> <div class="BlockContent-bl"><div></div></div> <div class="BlockContent-br"><div></div></div> <div class="BlockContent-tc"><div></div></div> <div class="BlockContent-bc"><div></div></div> <div class="BlockContent-cl"><div></div></div> <div class="BlockContent-cr"><div></div></div> <div class="BlockContent-cc"></div> </div> </div> </div> </div> </div> <?php get_footer(); ?> </center>
Does anyone know how I would be able to change the code to allow the used area to extend over the entire width of the page?
Now I know there is something wrong with this code anyways. The whole
<center>
was just a quickfix to an issue that came up. Can you help me fix this code?I LOVE YOU GUYS. THANKS.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How do I extend usable area to entire width of page??’ is closed to new replies.