Zen Cart Logo

Product info layout

Views: 623

Results 1 to 6 of 6
16 Jun 2011, 10:06 AM
#1
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Product info layout

I'm struggling to get my product info page to look as i'd like, specifically like this mockup: http://www.a c i d f r e e.co.uk/p-info-layout.jpg.

It currently looks like this, www.a c d f r e e.co.uk/catalog/index.php?main_page=product_info&cPath=3&products_id=4, my main issue is creating the two columns - images in the left column and everything else running down the right column. I'm not sure if it's down to my lack of knowledge of div tags... or if there is some styling somewhere I can't locate that is stopping me from doing what I want? all i really want is a push in the right direction....

Thanks in advance :)

16 Jun 2011, 11:23 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Product info layout

if you want two columns, you could make 2 divs. One with a float left, and the other with a float right

16 Jun 2011, 12:01 PM
#3
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Product info layout

Thanks that's great, I think I'm a step closer! Although the second column is still underneath the first column as opposed to next to it. Am I right in thinking that they should be side by side by default? Any idea what code is causing it to sit underneath?

Thanks again.

16 Jun 2011, 2:33 PM
#4
wellcool avatar

wellcool

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

Re: Product info layout

They won't be side by side by default.

Set an explicit width on the div that's floated right (about 500px should do it) and that should get them side by side.

16 Jun 2011, 3:43 PM
#5
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Product info layout

Wow that's great. I wish i knew what i was doing. Thanks a lot, Jesus will want you for a sunbeam.

17 Jun 2011, 8:47 AM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Product info layout

great it worked for you. We all started at some time without knowing what we were doing.