StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Turning off Sidebars (http://www.studiopress.com/support/showthread.php?t=775)

goldkey 11-14-2008 11:29 AM

Turning off Sidebars
 
Hi All,

I don't want to use the "left" and "right" sidebars...I just want to have a single sidebar spanning the entire sidebar area.

How do I turn them off?

Thanks,

Mark

Craig Tuller 11-14-2008 01:47 PM

Re: Turning off Sidebars
 
You can't just turn them off.

For what you are asking ...

You will need to create a customized sidebar file (maybe sidebar_wide.php), add styling for this in style.css and then use a conditional tag in your various programs to determine which sidebar to load.

goldkey 11-14-2008 01:55 PM

Re: Turning off Sidebars
 
Thanks. Or could I simply delete the hard-coded content in the "left" and "right" sidebar positions in the template? That seems to work (eliminating the lower split sidebar area and leaving only the top sidebar, which is what I want), but I don't want to break the template.

Craig Tuller 11-14-2008 08:25 PM

Re: Turning off Sidebars
 
My fault, I just re-read your initial question. :oops:

Just delete these lines of code from sidebar.php:
Code:

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


goldkey 11-15-2008 01:03 AM

Re: Turning off Sidebars
 
Thank you!


All times are GMT -5. The time now is 03:51 PM.

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