Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / click on thumbnail image not centered

click on thumbnail image not centered

Locked

Views: 1,256

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Sep 2007, 2:11 PM
#1
dlaitila avatar

dlaitila

New Zenner

Join Date:
Sep 2005
Posts:
57
Plugin Contributions:
0

click on thumbnail image not centered

I'm using 1.3.7 zen-cart and Classic contemporary green template. When I click on the thumbnail image to see the larger image, the larger image is not centered.

I have a test example here.

http://einerlei.com/store/index.php?main_page=product_info&cPath=25&products_id=45

I'm on a Mac. The problem occurs on Firefox and Safari. I don't know if it centers correctly on Windows.

My image is 640x480 pixels.

Other sites I've done with zen-cart do not have this problem. Any suggestions?

8 Sep 2007, 2:37 PM
#2
dlaitila avatar

dlaitila

New Zenner

Join Date:
Sep 2005
Posts:
57
Plugin Contributions:
0

Re: click on thumbnail image not centered

dlaitila:

I'm using 1.3.7 zen-cart and Classic contemporary green template. When I click on the thumbnail image to see the larger image, the larger image is not centered.

I have a test example here.

http://einerlei.com/store/index.php?main_page=product_info&cPath=25&products_id=45

I'm on a Mac. The problem occurs on Firefox and Safari. I don't know if it centers correctly on Windows.

My image is 640x480 pixels.

Other sites I've done with zen-cart do not have this problem. Any suggestions?

I'd really appreciate it if someone could help me trouble shoot why the image doesn't center properly when you click on the thumbnail. Thank you.

8 Sep 2007, 2:53 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: click on thumbnail image not centered

NOTE: Your image is over whelmingly huge ...

The image works fine on my test site ...

Sounds like you have changes somewhere to the settings on the popup or your stylesheet that are throwing things off ...

The javascript is in:
/includes/modules/pages/popup_image/jscript_main.php

8 Sep 2007, 9:04 PM
#4
dlaitila avatar

dlaitila

New Zenner

Join Date:
Sep 2005
Posts:
57
Plugin Contributions:
0

Re: click on thumbnail image not centered

Thanks, Ajeh, it wasn't the javascript. It was my stylesheet. I grabbed an original from my back-ups and put it in for the current stylesheet. That fixed the centering of the pop-up.

I resized the image too - so that it is 400x300 px.