Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Product center column not 100% wide

Product center column not 100% wide

Locked

Started by prime on 10 Aug 2009, 5:08 AM · Views: 967

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Aug 2009, 5:08 AM
#1
prime avatar

prime

New Zenner

Join Date:
Jun 2009
Posts:
35
Plugin Contributions:
0

Product center column not 100% wide

Hi, the center column on my product pages doesn't seem to be going to 100%. Here is an example:

http://primealternatives.com.au/cart/index.php?main_page=product_info&cPath=8&products_id=19

As you can see, there is a large white space on the right hand side. The culprit seems to be the "centerColumn" div. I have tried forcing it to 100% within the stylesheet.css file:

div.centerColumn {width: 100%;}

...and hard coding into my '/includes/templates/custom/templates/tpl_product_info_display.php' file:

<div width="100%" class="centerColumn" id="productGeneral">

..to no avail. I've disabled all right columns in my site and all pages on my site are displaying fine (E.G. home, product listings, etc). I'm sure that I'm missing something simple or there is something overriding my settings. Please help.

Thanks

10 Aug 2009, 7:17 AM
#3
prime avatar

prime

New Zenner

Join Date:
Jun 2009
Posts:
35
Plugin Contributions:
0

Re: Product center column not 100% wide

tino.schlegel:

Hi in your style sheet is a width for #productGeneral specified. When you remove it, the content spreads across the whole page.

Thanks Tino, that solved the issue. It was driving me crazy, I knew something was overriding my styling.