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 / ligning up details on product listing page

ligning up details on product listing page

Locked

Started by barendfaber on 2 Sep 2010, 3:32 PM · Views: 784

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Sep 2010, 3:32 PM
#1
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Post #1 by barendfaber

Hi,

I wonder if someone can help me. I am working on https://www.blackorangevintage.com, on the product listing pages, some product names are long and displayed in 2 lines, some are shorter and only display in 1 line. This then also messes up the other info, as in one block I have the price correct (product name is 2 lines) but the block next to it the price is one line higher (product name is only 1 line). I need all the product names to be ligned up, then all the product prices to be in the same line, etc. I would like to keep my product names the same, just need to figure out how to add an extra line where the product name is 1 line instead of 2.

Hope this makes sense.

Barend

2 Sep 2010, 3:55 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

You'd have to write (or at least modify) some code to make that happen automatically. One way to kludge it (maybe, I haven't tried it) would be to add some spaces to the end of the product names that don't wrap.

2 Sep 2010, 3:59 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #3 by kobra

links to a 1 line example and a 2 line example would assist

Zen-Venom Get Bitten

2 Sep 2010, 4:41 PM
#4
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Post #4 by barendfaber

Thanks, much appreciated. I had a look at https://www.play.com, theirs is all messed up like my site, https://www.hmv.co.uk is done the way I want it. This is a shame. Any idea or help with how I can write this code please?