Okay, now I’m 3/4 the way there!
What I did to change the body, was create a “#content2” in the style.css.
Then in the forum template I made, I changed <div id=content> to <div id=content2>. Now I’m able to extend my forum into the sidebar space.
Now all I have to do is get rid of the “green yucky” on just that page.
I know in the #page part of the style.css I can erase the url for the image, but that will erase that image all over my site, I just want it done from that page.
What I’m trying to do, is find where <div id=page> is located, so maybe I can change copy the .php form, make my own with <div id=page2> and then change the call command for that .php in my forum template as well.
From there, I can create a #page2 in my style.css, and get rid of the url…
Well, so far! I’ve been able to locate the <div id=page> in the header.php. I copied it, and made a header2.php, same thing, but when I’m in my CSS editor, it shows up as “header2.php”, instead of just “header” like the normal header.php.
Because in my forum template, there is this code:
<style>#sidebar { display: none; visibility: hidden; }</style>
<?php
/*
Template Name: Forum
*/
?>
<?php get_header(); ?>
<div id="content2">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="post-cat"><?php the_category(', ') ?></span> <span class="post-calendar"><?php the_time('F jS, Y') ?></span>
<div class="post-content">
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<?php edit_post_link('Edit', '', ''); ?>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div><!--/post -->
</div><!--/content -->
<?php get_footer(); ?>
And if you can see, the get_header. I want to change that to get_header2.php. I tried that and it gave me an error when I opened up the page. What do you guys think I should do?