Zen Cart Logo

Product Info Pages

Locked

Views: 1,035

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 May 2008, 12:33 PM
#1
bgs024 avatar

bgs024

New Zenner

Join Date:
Feb 2008
Posts:
4
Plugin Contributions:
0

Product Info Pages

Hi guys,

Firstly the URL iam asking a question about is http://bearygoodsigns.com.au/index.php?main_page=product_info&cPath=1_62&products_id=19&zenid=3823f619895e6423f57fc91607ad3a9a
I want to re-format the way this page works, ive work out some of it, however I cant work out the main image part. I know it links to the tpl_modules_main_product_image.php file but no matter what I change i cant get it to center.
What i would like is for the image to be above and center with the product description directly below. Anyone got any ideas?

9 May 2008, 1:05 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Product Info Pages

bgs024:

Hi guys,

Firstly the URL iam asking a question about is http://bearygoodsigns.com.au/index.php?main_page=product_info&cPath=1_62&products_id=19&zenid=3823f619895e6423f57fc91607ad3a9a
I want to re-format the way this page works, ive work out some of it, however I cant work out the main image part. I know it links to the tpl_modules_main_product_image.php file but no matter what I change i cant get it to center.
What i would like is for the image to be above and center with the product description directly below. Anyone got any ideas?

Are you using Firefox, with the web developer kit to quickly locate the issue and play with her/him with the edit css button.

Look for:
#logoWrapper {
background-image:url(../images/bgsshead.jpg);
background-repeat:no-repeat;
height:78px;
width:390px;
}

  1. this will help big time understanding properties
  1. http://www.w3schools.com/CSS/css_margin.asp
9 May 2008, 2:29 PM
#3
bgs024 avatar

bgs024

New Zenner

Join Date:
Feb 2008
Posts:
4
Plugin Contributions:
0

Re: Product Info Pages

Its not the header image i want to work with. Im talking about the Product Image. The thumbnail on the product screen.

9 May 2008, 2:44 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Product Info Pages

The same principle applies for that. Add to your stylesheet

#productMainImage {float: none;}

10 May 2008, 2:23 AM
#5
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Location:
Australia
Posts:
305
Plugin Contributions:
0

Re: Product Info Pages

Thank you gjh42. This worked. See below for the section of code that needs to change.

/Image Display/
#reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
margin: 0em 1em 1em 0em ;
}

#productMainImage {
float: none;
}

.categoryIcon {}

Kind regards.