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 / product listing: Huge gap between product and price/add

product listing: Huge gap between product and price/add

Started by nkin on 24 May 2011, 9:57 PM · Views: 1,436

Results 1 to 9 of 9
24 May 2011, 9:57 PM
#1
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Post #1 by nkin

Hi everybody,
I have a problem with the my product-listing page. The space between the product-name and the price is huge and I can’t reduce it. I tried playing with around with .itemTitle but it didn’t gave me the desired result.

I did:

.itemTitle {width: 100px;  background:green;} 
th.productListing-heading{  display:none; } 
td.productListing-data{ text-align: left; color:green;} 

but the gap is still too big and ‘price ’ is not aligned. And the problem grows if the title of an item is larger than 100px;

Is there a other way? Thanks.

Current situation:
[IMG]http://img834.imageshack.us/img834/2326/nr1aq.th.jpg[/IMG]

Desired situation:
[IMG]http://img37.imageshack.us/img37/1580/nr2p.th.jpg[/IMG]

24 May 2011, 10:03 PM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

What are your settings in
admin > config > product listing > for these

Display Product Image
Display Product Manufacturer Name
Display Product Model
Display Product Name
Display Product Price/Add to Cart
Display Product Weight

Zen-Venom Get Bitten

25 May 2011, 3:31 PM
#3
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Post #3 by nkin

I have

Display Product Image 0
Display Product Manufacturer Name 0
Display Product Model 0
Display Product Name 2
Display Product Price/Add to Cart 3
Display Product Weight 0

25 May 2011, 3:38 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Post #4 by haredo

can you post a link without the http://www. or just (PM) me the link so I can see if they have added padding to the stylesheet.css

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.

26 May 2011, 8:30 PM
#5
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Post #5 by nkin

I am sorry but i dont't have it online, i am working locally with xampp.

But i tried removing all padding from all the stylesheets i am working with, but it stayed the same.

i even deleted the css directory, but the gap was still present and the price remained on top of the input field. (i also deleted all the css directories from all the different zen cart templates)

the funny thing is that when you look in the source output of the product list page, there is no id or class defined for the price.

26 May 2011, 8:42 PM
#6
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Post #6 by nkin

it's always possible to jus override /modules/product_listing.php, right?

27 May 2011, 10:48 AM
#8
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Post #8 by nkin

Yes, thank you for the links, but i am going to do override as a last resort. I really would like to this with just css or admin functions. If it isn't possible, the i'll do the override.

ps: a couple a days ago i saw a thread in this forum with the same problem. A member then advised to use a addon that was specially designed for this pupose (to add css id's and classes to the various elements in product-listing). But i looked for that addon and i didn't find it and also i can't find the thread anymore.

btw. it wasn't column grid layout, but it was a other addon

27 May 2011, 2:00 PM
#9
kobra avatar

kobra

Black Belt

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

Post #9 by kobra

Yes, thank you for the links, but i am going to do override as a last resort
Overrides exist for any file that you need to edit
As the core files should not be edited

In this way your customizations are not over written in an upgrade

Zen-Venom Get Bitten