Hi all,
I'm having a hard time trying to figure out how I can hide the sidebar region inside the content zone on specific page...

This is the layout

Content Zone
- Content Region (18 columns)
- Sidebar Region (8 columns)

On the page that doesn't have the sidebar, the content region would need to be 24 columns...

Has anyone every done this?

Thanks,
Josh

Comments

venpyre’s picture

Hello,
I have a similar problem.
Please help us ;)

webchick’s picture

Project: Drupal core » Omega
Version: 7.12 » 7.x-3.x-dev
Component: theme system » Code
stefan93’s picture

it's the debuging block who show the region even if is empty.

magibird’s picture

IN other words, disable debugging in the settings for the theme and this problem disappears....

marko42’s picture

In order to see my layout with relevant debugging blocks I used css:

#region-sidebar-first {
display: none;
}

Add to global.css. Or use css injector. Kinda hacky, but it works.

amorales@drupal.org.es’s picture

I think you can use Delta and Context to do it.

You can create a delta (copy of your theme) and set a context to that delta. The context should have the URL of the specific page you want to hide the sidebar.

On the delta (appareance -> delta options tab) you need to re-arrange the theme congifuration without the sidebar.

Take a look at the documenation: http://drupal.org/node/1341730