View Full Version : Panels and width of page

10-07-2009, 06:23 PM
I am trying to change the with of the witdh of my page and would like to use different number of panels and sizes of the primary content area.

I would like to have the front page with a Primary content area of 785px. This looks nice and I would like to keep it this way. On other pages we would like to have a left and a right panel.

This means that on other pages like products having two panels with the primary content area of 785px forces the right panel to sit below the primary area. It does not fit into the width. Total width is 955px and this is consumed by the left panel and the primary content.

I wonder if it is possible to control a situation like below:

Front page: Primary content area 785px - Right panel 170px
Other pages: Right panel 170px - Primary content area 615px - Right panel 170px

Almost like having an if clause in style.css like:

If “front page”
/* Primary Content Area */
.Content {
float: left;
width: 785px;
/* Primary Content Area */
.Content {
float: left;
width: 615px;

Anyone have any experience doing this?