StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Sidebar alignment (http://www.studiopress.com/support/showthread.php?t=10104)

beleafer 06-21-2009 03:53 PM

Sidebar alignment
 
I will confess I am a newbie to this - so be gentle! The problem I am having is that I can't get the left and right sidebars to align under the main sidebar. I am trying get them all the way to the right.

My page is http://thecompasschurch.com/wordpress/

And here's the code I am working on ...

<?php
/*
Template Name: Blog2
*/
?>

<?php get_header(); ?>

<div id="content">

<div id="contentleft">

<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>


</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>


<?php include(TEMPLATEPATH."/sidebar_left.php");?>
<?php include(TEMPLATEPATH."/sidebar_right.php");?>


</div>
</div>
</div>





<?php get_footer(); ?>

John Flynn 06-21-2009 04:34 PM

Re: Sidebar alignment
 
Remove the last 2 closing div tags

Brian Gardner 06-21-2009 04:35 PM

Re: Sidebar alignment
 
Are you just wanting the FCG to show on the main page? If so, delete this from that file:

</div>
</div>

beleafer 06-21-2009 05:10 PM

Re: Sidebar alignment
 
Yes, I just want the FCG on the first page.

I took out the last two </div> but it didn't seem to change.

beleafer 06-21-2009 05:36 PM

Re: Sidebar alignment
 
When I duplicated the FCG to add a second one below the first, it pushed the sidebars all the way to the right like I wanted them to be. Is there some way to do this without putting another element below the existing FCG?

beleafer 06-21-2009 08:06 PM

Re: Sidebar alignment
 
I got it to work by expanding my FCG so it was taller. But is there some way to do it in the code so I could shrink my FCG back down?


All times are GMT -5. The time now is 02:25 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.