Forums / Templates, Stylesheets, Page Layout / Moving Around Product Info Page

Moving Around Product Info Page

Locked

Views: 1,691

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Jul 2006, 4:12 AM
#1
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Moving Around Product Info Page

Currently, my product information page looks like this:

and I want it to look like this:

Can anyone point me in the right direction as to what stylesheet I'm supposed to be editing? Also, which layout do you prefer, the old or new one? Just curious, because a friend of mine liked the first layout better, and now I'm having second thoughts on changing it.

Thanks!

12 Jul 2006, 10:45 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: Moving Around Product Info Page

If you go to includes/templates/custom/css/stylesheet.css and add

#productMainImage {
float: none;
}

you'll see your text description is now underneath your main product image.

The reordering you want will require you to customize tpl_product_info_display.php.

Good luck!
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

13 Jul 2006, 6:44 PM
#3
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: Moving Around Product Info Page

How would I center the "Add to Cart" button and the Attributes? Regardless of how I change the layout on the tpl_product_info_display, the "Add to Cart" is always on the right, and the Attributes are always on the left.

Thanks.

14 Jul 2006, 1:48 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: Moving Around Product Info Page

It's the same idea. Simply edit your css and change

#cartAdd {
float: right;
....

to

#cartAdd {
float: center;

(or take out the float entirely, since the next line is text-align: center;)

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jul 2006, 7:35 PM
#5
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: Moving Around Product Info Page

Thanks!

Is there also a way for me to put a box around the product description, add a cart, and attributes as shown in the second layout? I know I can put a border per each one, but is it possible to put a border around those 3 items?

I'm not very good with php and such, so I dont know which might/might not work.