Forums / Templates, Stylesheets, Page Layout / Weird spacing on product listing pages suddenly occured

Weird spacing on product listing pages suddenly occured

Views: 1,267

Results 1 to 6 of 6
10 Jun 2013, 12:42 PM
#1
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Weird spacing on product listing pages suddenly occured

Hi guys

If you check out this product listing page:
http://pcselect.co.za/index.php?main_page=index&cPath=2_354

..You'll see that the spacing between and within each row in the product listing table is weird. The product name, short description, stock and price are suppose to lie directly in line (next to) the product image - like this:

http://screencast.com/t/nMRqXmsrh3E

I looked at the code and can't figure out why this suddenly happened. I haven't touched the product listing page in months (I did however recently hire a contractor to take care of an unrelated issue - maybe he did something by mistake?)

I'd appreciate it if you guys could give me a hand here.

Thanks!
Seth

10 Jun 2013, 1:02 PM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Weird spacing on product listing pages suddenly occured

SethF:

...... I haven't touched the product listing page in months (I did however recently hire a contractor to take care of an unrelated issue - maybe he did something by mistake?)....

If you have neot changed anything at all, could you ask the contractor if he/she 'accidentally' changed anything in the stylesheet?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Jun 2013, 1:24 PM
#3
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Re: Weird spacing on product listing pages suddenly occured

These people are not the easiest people to get a hold of - I thought someone in the community might be able to see what's causing this.

10 Jun 2013, 2:08 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Weird spacing on product listing pages suddenly occured

I can't see where the problem is coming from (you sure do have a lot of stylesheets), but try adding this to stylesheet.css:

.productListing-data {vertical-align: top;}

10 Jun 2013, 2:16 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: Weird spacing on product listing pages suddenly occured

  1. You have more stylesheets than I think I've ever seen in one place.:ohmy: Including a snippet coded into the main page!
  2. The alignment is probably caused by:

Get a copy of Firefox with the firebug addon. You can use it to see what is causing the problem. It is so involved that trying to explain it in a thread would take forever and still might not be the look you want.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

10 Jun 2013, 2:23 PM
#6
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Re: Weird spacing on product listing pages suddenly occured

stevesh:

I can't see where the problem is coming from (you sure do have a lot of stylesheets), but try adding this to stylesheet.css:

.productListing-data {vertical-align: top;}

This did the trick - thanks.

Yeah I know there are quite a few stylesheets. I'll get those cleaned up.