Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing width of product info display

Changing width of product info display

Locked

Views: 1,380

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Aug 2007, 3:04 PM
#1
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Changing width of product info display

I am trying to change the width of my product info display. You can see it here:

http://www.westec-beauty.com/shop/index.php?main_page=product_info&cPath=65&products_id=180

OK, it's in Chinese language...sorry about that. Anyhooo, You can see that it is too narrow for the space, right? This width works on the main index page where I have a left and right side box column (actually, both are on the left side). But I want a wider product info display width when viewing a single product.

When I check the source for this page, I clearly see a td width setting of 327px. But I do not know where this comes from. I have looked in admin, and looked in tpl_product_info_display.php, and also looked in css files, but can not find this width setting anywhere.

Any ideas? Thanks in advance!

4 Aug 2007, 3:24 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Changing width of product info display

Template Monster template? You will have to dig through the code to find where it is hardcoded.

4 Aug 2007, 11:39 PM
#3
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Changing width of product info display

Any suggestions which pages/templates I should start looking into to find this?

If it was NOT hardcoded, where I would adjust this width?

I can not find anywhere to control this width except I guess it could be that I should control the width of the two side boxes (left and right), and the width of the entire page, and then by mathmetical subtraction that then decides the width of this center box. Is that about right?

Actually, I doubt it is hardcoded because the creator of this template seems to be fairly rigorous in following the zen protocols, but I guess it is hard to know for sure until I actually find it. (I paid for this on one of those template sites. Forget now if it was Monster or which one.)

Thanks,

Thomas

4 Aug 2007, 11:50 PM
#4
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Changing width of product info display

Doooh~! I just found it. You were right; it is hardcoded. Curses on this template creator. :yuck:

The hardcode is located in the tpl_main_page.php template.

Thanks anyways!

4 Aug 2007, 11:54 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: Changing width of product info display

Thanks for the update.