editing a php so it has a sidebar

Hi guys,

I was wondering if i can edit a template i am using so it has a sidebar?  something similar to the sidebar here on another site i look after  www.bodyfirst.ie i have tried copying that template but it throws off everything else here is the code for the template i am using that i would like to put a sidebar on

// Template Name: Full Width Page
get_header(); ?>
		<?php if (function_exists('progression_breadcrumbs')) progression_breadcrumbs(); ?>
		<div class="content-container">
			<div class="page-content">
				if($post->post_parent) {
					$children = wp_list_pages('sort_column=menu_order&title_li=&child_of=' . $post->post_parent . '&depth=1&echo=0');
				else {
					$children = wp_list_pages('sort_column=menu_order&title_li=&child_of=' . $post->ID . '&depth=1&echo=0');

				if ($children) { ?>
				<ul class="sub-pagination">
					<?php if($post->post_parent): ?>
					<li><a href='<?php echo get_permalink($post->post_parent); ?>'><?php echo get_the_title($post->post_parent); ?></a></li>
					<?php else: ?>
					<li class="current_page_item"><a href='<?php echo get_permalink($post->ID); ?>'><?php echo get_the_title($post->ID); ?></a></li>
					<?php endif; ?>

					<?php echo $children; ?>
				<?php } else { ?>

				<?php } ?>

					<h1 class="page-title"><?php the_title(); ?></h1>
					<?php the_content(); ?>
					<div class="clearfix"></div>


			</div><!-- close .page-content -->
			</div><!-- close .sidebar-container -->
		</div><!-- close .content-container -->
		<div class="content-container-base">
		</div><!-- close .content-container-base or .content-container-base-pagination -->
<?php get_footer(); ?>

Open in new window

Who is Participating?
GaryConnect With a Mentor Commented:
The grey background is an image that you have positioned to the right
Does the template not include a 2 col page?
Got a link to the page.
jonathanduane2010Author Commented:
maybe it does i never checked :)

yes its http://dancingsoul.greatlocks.ie/
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Is this just on the homepage, since other pages do have a sidebar
jonathanduane2010Author Commented:
yes they have a right side bar i am looking for a left one if possible.. or i suppose it doesnt make a difference
Well you've already changed it.
You could just change the floats around.
jonathanduane2010Author Commented:
how do i do that?
jonathanduane2010Author Commented:
Ok, i found it, can i change the background so it isnt grey its white like the rest of the page?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.