Jump to content
Sign in to follow this  
jjohnson

Layout with Main Column and Sidebar 2

Recommended Posts

jjohnson

Simple question... how do I set up pages with Main column (left) and Sidebar 2 (right) ? I see main and sidebar 1, but I just want sidebar 2 there instead.. I have sidebar 2 styled a certain way, the widgets I want are in it, and I want it to stay just like the 3 column layout, on the right side. I don't want sidebar 1 on the right.

| | |

| | |

| main column | sidebar 2 |

| | |

| | |

Share this post


Link to post
Share on other sites
James B

Hi there, if I understand you correctly then try the following.

Select the three column layout: Main Column>Sidebar 1>Sidebar 2 in the page layout. Then via the page meta settings, go in to the page setup tab and check 'hide primary sidebar' and save meta settings. This should result in the look you have described above.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
jjohnson

That is the solution I ended up figuring out... but it doesn't look right. For some reason, white space shows up to the right of sidebar 2, which is weird, since sidebar 2 extends to the right edge of the drag and drop layout.

Share this post


Link to post
Share on other sites
Rob

The blank space is simply the result of an empty DIV, which expected to see SB1. The solution is very easy. Go to Dashboard > PageLines > Site Options > Website Setup and look for "Remove Default Sidebars When Empty" just check the box to hide sidebars when empty. This removes the empty div, allowing SB2 to occupy the full space.

However, if you add a sidebar to SB1, it will show up as long as you have a widget in the sidebar.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
jjohnson

This didn't work, because, as I said, the space is to the right of the sidebar 2, not the left (where sidebar 1 would be). Also, I do have stuff in sidebar 1, but I hid it on the page level. Still a strange white space to the right of sidebar 2. Oh well. I think I will have to get rid of sidebar 1 and hard code it onto the home page, where I wanted it... then use a different template on all my pages... such a pain! Pagelines - you need to add a template like I put in the original post!

Share this post


Link to post
Share on other sites
jjohnson

I put what was in sidebar 2 into sidebar 1, and then I put what I had in sidebar 1 and hard coded it to float left on the home page... that works for the home page, but it stinks I can't leave it as a sidebar for the purpose of using widgets, etc.

Share this post


Link to post
Share on other sites
Danny

Hi,

What you can do is this:

  1. Go to Drag and Drop and in SB1, drag the Secondary Sidebar section to the Active Sections, so that you have Primary and Secondary in SB1.
  2. Then click on the Options button on Secondary Sidebar and check "Hide by default", so that it is not active on all your pages/posts.
  3. Now go to Appearance Widgets, add whatever Widgets you wish to have in your Secondary Sidebar.
  4. Once this has been completed, go to the Wordpress Admin Dashboard > Pages and select the Page which you would like to have the Secondary Sidebar active on.
  5. Scroll down to the PageLines Meta Settings and then Hide Primary Sidebar and then check the box to show Secondary Sidebar.

If you view your page now, you will have the Secondary Sidebar active on this page.

However, a easier method in my opinion, would be to use the plugin Widget Logic, this plugin allows you to display Widgets on a per post/page basis.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×