Jump to content
Sign in to follow this  
ericweiner

Sidebar Will Not Hide

Recommended Posts

ericweiner

Latest Version of Wordpress and WhiteHousePro3... Following the instructions on the Sidebars & Widgets page, I have marked "Hide Sidebar When Empty" in Theme Options. I have no Widgets in my Short Sidebar and have that assigned to a Feature Page - Standard. When the page loads I get the message:

The short sidebar has been selected but doesn't have any widgets. Add some widgets to your short sidebar in the admin under appearance > widgets.
Preferred outcome is not to have the sidebar show up at all. Page can be seen here. Fwiw, on a Highlight page within the site (this page) I have the same sidebar chosen with no widgets and that one is hidden from view. Thanks in advance-

Share this post


Link to post
Share on other sites
kastelic

You could put this into your custom css box. It will hide the sidebar only on the home page:

.home #sidebar{display:none}

Share this post


Link to post
Share on other sites
ericweiner

Thanks Jimmy, that did the trick. I wonder if this is a bug in the theme? Again, much appreciated workaround.

Share this post


Link to post
Share on other sites
Kate

Hi Eric - Basically what "hide sidebar when empty" does is not show the default widgets... those widgets that appear if you have no others. It doesn't, however, hide the sidebar div. So, it's still on the page, taking up room. If your home page is a static page, you can go into edit mode for that page, and there should be an option in the far right column to hide the sidebar for that page only ;)

Share this post


Link to post
Share on other sites
ericweiner

Hi Kate, thanks for the more detailed definition. I attempted to look for the Edit mode for the page (within Wordpress) and looked for the hide that you were referring to - but was unsuccessful in locating it. The standard Page Edit? Far right column only has Publish Options (Preview Changes, Update) and Page Attributes (Parent, Template, Order). I'm using WhiteHousePro, so I'm not sure if that has any bearing on the directions.

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  

×