Forums / Templates, Stylesheets, Page Layout / Centralising the product description text on product info page

Centralising the product description text on product info page

Locked

Started by sushigal on 29 Apr 2009, 3:45 PM · Views: 2,048

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Apr 2009, 3:45 PM
#1
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Centralising the product description text on product info page

Hi, I can't find anything in the forums about centralising the text on the product info page so here goes...

I'm happy with the position of the text, it's to the right of the image but it appears to be aligned left, how can I centre it? I can't see any way of centralising it when I enter the descriotion for a product in the admin and can't work out what file I'd have to edit if I need to.

Any advice please?

an example is: http://www.thegreatgiftshop.co.uk/zencart/index.php?main_page=product_info&cPath=7&products_id=15

29 Apr 2009, 4:02 PM
#2
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Centralising the product description text on product info page

You need to add the text below to your stylesheet.css. However, centered text is difficult to read and looks amateurish.

#productDescription {
text-align:center;
}

Get yourself firefox with the Firebug extension for easy CSS troubleshooting.

Steve

30 Apr 2009, 9:17 AM
#3
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: Centralising the product description text on product info page

Yeah think you're right but I need to know incase the boss wants it done. Thank you very much for your help