You should be able to hide it with CSS, specific to the page id. A link to the page or site in question will make it easier to give good advice.
You should be able to hide it with CSS, specific to the page id. A link to the page or site in question will make it easier to give good advice.
I am attempting to remove both sideboxes for my shopping cart and checkout pages.
I have put the following lines in my tpl_shopping_cart_default.php and the tpl_checkout_confirmation_default.php.
$flag_disable_left = true;
$flag_disable_right = true;
The left sideboxes do not disappear but the right ones do, any suggestions?
Thankyou
I expect that those files are being called when the center column is processed, after the left column is output, so the flags there can't affect the left column.
You need to put the flags in tpl_main_page.php, either in a page-specific subdirectory copy as DrByte mentioned at the top of the thread, or in a conditional statement that operates on the value of $current_page_base.
Thanks for your assistance, that worked.
Hmmm... Following this advice I was able to remove the sideboxes from a specific page. However, as you can see the dead space associated with the sidebox is still in place. Can you tell me how to make the entire page available?
FYI: I'm running the Apple Zen template with left-side-only sideboxes, although I did need to define both left & right if statement for it to work:
Thanks!PHP Code:if ($current_page_base == 'page_3') { //(or whatever the correct technical name is)
$flag_disable_left = true;
$flag_disable_right = true;
}
It looks like there are two separate things that are causing this. The center column is specified to stay to the right, and paragraphs are given a fixed width as well.
This is a delicately woven template, and it will require some targeted conditional styling to make it flex as you wish. A per-page stylesheet with the correct rules to undo the above will probably work.Code:.centerColumn { background:#E0FFA0; width:75%; /*these 2 lines keep the center column to the right 75% of the space*/ float:right; margin:0 2% 2% 3%; text-align:left; line-height:1.6em; display:inline; /* fixes IE Bug in IE6 and earlier - do not remove */ } #content p { width: 460px; color: #000; font-size: 0.7em; margin-left: 20px; font-weight: normal;}