Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove Space in Product Listing

Remove Space in Product Listing

Locked

Views: 2,535

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
9 Nov 2007, 8:21 PM
#1
cobraplant avatar

cobraplant

Zen Follower

Join Date:
Oct 2007
Posts:
101
Plugin Contributions:
0

Remove Space in Product Listing

I've searched the manual and the forums, but I can't seem to locate this information. On my Product Listing, I have it set for three columns - Product Image, Item Name and Price.

In the Price column, I have it set to show the price and a quantity box. The quantity box is located below the price, but there is a space between the price and the box. With a large listing of products, this space makes the layout confusing because it can easily be mistaken that the price is associated with the box above it.

How do I eliminate that space? In HTML, I would simply use <br /> instead of <p> after the price, but I don't know how to do it in this case. I'm not sure if this is a CSS issue or something that can be done in Admin.

Any ideas?

10 Nov 2007, 7:07 AM
#2
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Remove Space in Product Listing

Always post a link to the page, so we can debug.

10 Nov 2007, 7:12 AM
#3
cobraplant avatar

cobraplant

Zen Follower

Join Date:
Oct 2007
Posts:
101
Plugin Contributions:
0

Re: Remove Space in Product Listing

Here you go:

http://www.cobraplant.com/plants/index.php?main_page=index&cPath=2_14

I sort of fixed the problem by changing the font size, but I'd still like to get rid of the space between the price and the quantity box associated with it.

10 Nov 2007, 7:22 AM
#4
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Remove Space in Product Listing

Okay, you need to remove those multiple <br /> in product_listing.php

10 Nov 2007, 7:33 AM
#5
cobraplant avatar

cobraplant

Zen Follower

Join Date:
Oct 2007
Posts:
101
Plugin Contributions:
0

Re: Remove Space in Product Listing

Ah yes! Thank you for pointing that out. Of course, I didn't think about checking the actual product listing file!

3 Dec 2007, 11:55 PM
#6
biojohn avatar

biojohn

New Zenner

Join Date:
Sep 2007
Posts:
23
Plugin Contributions:
0

Re: Remove Space in Product Listing

:lookarounHi, Guys: Can it be more specific that new Zenners like me also learn how to do it?

10 Feb 2008, 3:18 AM
#7
spencerchase avatar

spencerchase

New Zenner

Join Date:
Feb 2008
Posts:
1
Plugin Contributions:
0

Re: Remove Space in Product Listing

I amtrying (unsuccesfully) to do something similar. I just don't understand the use of the various forms and how theyfit together and where the space comes from. Here is the URL for my site in progress. http://www.spencerserolls.com/zencart/index.php?main_page=index&cPath=1

When the lists of products display, the price, the tag Add: and the drop down box for quantity should all be on the same line as the product name. I have 4000 products and need them crammed together as close as possible. I am using multiple add to cart and have eliminated pretty much everything but the product model (for sorting purposes)product name price and add button. I wouild actually like to suppress the display of the price as the prices are all the same. I see where I can make it '' instead of the value but it still takes up a line and spreads everything apart.

I am totally new to PHP and have little HTML experience other than commenting it out and making minor changes. I need really explicit instructions as to what to change or what I need to learn such as how and where the table that creates the add quantity box and other elements is defined and how to change it.

22 Feb 2008, 10:02 PM
#8
yenmax avatar

yenmax

New Zenner

Join Date:
Sep 2006
Posts:
89
Plugin Contributions:
0

Re: Remove Space in Product Listing

Hi,
I try to remove the white space between select color and Select Quantity. Please go to my site. The following is the direct page that you can see. If I display more than 6 the little color swatches than I will get a big white gap.
http://www.yenmax.com/silk-sweater-shirt-long-sleeve-mock-neck-p-88.html?zenid=2544bc65b254b1ec4ca83c460b53a1d4

Thanks