Forums / Templates, Stylesheets, Page Layout / Stretch Center to the right

Stretch Center to the right

Locked

Views: 1,118

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
30 Dec 2006, 7:17 PM
#1
bajanboost avatar

bajanboost

New Zenner

Join Date:
Dec 2006
Posts:
21
Plugin Contributions:
0

Stretch Center to the right

I am working on a zen cart store and I am trying to get the center of the page to overlap the right columns. I was able to do this on the main page by changing the following code:

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
    $flag_disable_right = true;
  }
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'index')) ) {
$flag_disable_right = true;
}

The home page now displays the way I want it to with the left column being there, and the center stretching into the right column. The right column is disabled. How do I achieve this for every single page?

30 Dec 2006, 7:30 PM
#2
djh avatar

djh

New Zenner

Join Date:
Dec 2006
Location:
The Netherlands
Posts:
10
Plugin Contributions:
0

Re: Stretch Center to the right

Are you saying you want to change the standard three-colomn layout into a two-colomn layout? (like i.e. http://www.debimex.nl/)

To do that, set:

admin>configuration> layout settings > Column Width - Right Boxes
admin>configuration> layout settings > Column Right Status - Global
admin>configuration> layout settings > Column Width - Right

all three to 0.

If I remember right, that should disable the right colomn.

But maybe I misunderstand what you want to achieve.

Cheers, David