Closed (fixed)
Project:
Acquia Prosper
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2011 at 19:35 UTC
Updated:
4 Jan 2014 at 01:11 UTC
Jump to comment: Most recent
Comments
Comment #1
aquariumtap commentedHi Boletus, if there are no blocks loaded into the sidebars, then the sidebars won't display, and the content area will be the full grid width. You shouldn't have to make any alterations to the code.
Let me know if that makes sense...
Comment #2
sheena_d commentedIf you want to remove your sidebars from a particular page, the most sustainable and compatible way to do this is to utilize the "page specific visibility" settings on your blocks to hide all blocks in the sidebars on the page(s) where you do not want sidebars. Extending on that, the Context module is very handy for creating different block layouts throughout your site in situations where using individual blocks settings can become cumbersome because you have a lot of different blocks and/or types of pages that need different layouts.
If you were, for example, to create a special page template and strip out the sidebars, this would not really work. Fusion-based themes calculate the width of the main content area based on which sidebars have content in them. If you strip out the HTML and PHP that prints out the sidebars on your page template, Fusion is still going to see the sidebars as having content and assign the main content area the same width it would need to have to accommodate the sidebars.
Documentation on using Block visibility settings: http://drupal.org/node/21870
Context Module: http://www.drupal.org/project/context
Hope this helps!
Cheers,
Sheena