Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Possible to re-arrange main product page layout via admin?

Possible to re-arrange main product page layout via admin?

Locked

Started by jhouse on 26 Feb 2009, 2:53 AM · Views: 2,113

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Feb 2009, 2:53 AM
#1
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Post #1 by jhouse

Hi,

Is it possible to control the layout of the main product page from the admin area, or do you accomplish this via css, or maybe a combination of both?

Here's the page I want rearrange:

http://www.nunnathegluten.com/blueberrymuffin-p-1.html

Basically, I want to have the options/attributes to the right of the image, then the Add to Cart button, then the product text below all of that stuff, similar to this site:

http://www.cowgirlcookieco.com/index.php?main_page=product_info&cPath=65&products_id=180

Any ideas? Thanks.

26 Feb 2009, 6:07 AM
#2
jwitt98 avatar

jwitt98

New Zenner

Join Date:
Feb 2009
Posts:
95
Plugin Contributions:
0

Post #2 by jwitt98

Changes to layout are done by CSS

Here is one good option:
1 install Mozilla firefox( if not already)
2 download and install the firebug add-on
3 right click on any item on your web page you want to change the layout for, and select "inspect element"
4 note the css values
5 go to your stylesheet and edit them.

This is the method I use to discover which CSS selectors control the layout for any given element.:smile:

26 Feb 2009, 8:15 AM
#3
gjh42 avatar

gjh42

Black Belt

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

Post #3 by gjh42

You will also need to edit
/includes/templates/your_template/templates/tpl_product_info_display.php. Blocks of code are marked off by comments; move blocks around to the order you want them to display, then use the stylesheet for fine tuning.

27 Feb 2009, 2:11 AM
#4
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Post #4 by jhouse

Much thanks to both of you.

Yeah, Firebug is awesome. Saves me a lot of headache and hassle. Or is that hassle and headache? Eh.

Peace.