StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 06-21-2009, 03:53 PM
beleafer beleafer is offline
Registered User
Genesis Member
 
Join Date: Jun 2009
Posts: 6
Default 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(); ?>
  #2  
Old 06-21-2009, 04:34 PM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Sidebar alignment

Remove the last 2 closing div tags
  #3  
Old 06-21-2009, 04:35 PM
Brian Gardner's Avatar
Brian Gardner Brian Gardner is offline
Administrator
 
Join Date: Sep 2008
Location: Chicago, IL
Posts: 5,360
Default Re: Sidebar alignment

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

</div>
</div>
  #4  
Old 06-21-2009, 05:10 PM
beleafer beleafer is offline
Registered User
Genesis Member
 
Join Date: Jun 2009
Posts: 6
Default 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.
  #5  
Old 06-21-2009, 05:36 PM
beleafer beleafer is offline
Registered User
Genesis Member
 
Join Date: Jun 2009
Posts: 6
Default 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?
  #6  
Old 06-21-2009, 08:06 PM
beleafer beleafer is offline
Registered User
Genesis Member
 
Join Date: Jun 2009
Posts: 6
Default 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?
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sidebar alignment mikeoh General Discussion 12 05-20-2010 05:44 PM
top sidebar alignment kensmith39 General Discussion 7 02-21-2010 01:23 PM
Sidebar Alignment mal General Discussion 2 09-22-2009 01:49 PM
sidebar alignment off mormonworld General Discussion 7 07-28-2009 08:05 AM


All times are GMT -5. The time now is 07:10 AM.

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