Forums / Templates, Stylesheets, Page Layout / defining row height for product listing page

defining row height for product listing page

Started by bryansummers on 5 Aug 2010, 6:38 AM · Views: 1,636

Results 1 to 8 of 8
5 Aug 2010, 6:38 AM
#1
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

defining row height for product listing page

I have read a lot of threads and haven't been able to figure out how to do this, I would like to adjust the cell spacing to provide some white space between products in the product listing, I have 1 product per row and I don't like the way the product images have no space between rows, the images run up against each other vertically. I used firebug for fire fox to find the code, but was unable to find the file it was contained in. I am using 1.3.9e and the Sage Template.

Thanks for any help.

Bryan

5 Aug 2010, 7:20 AM
#2
magic462 avatar

magic462

Banned

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: defining row height for product listing page

Hey I did this awhile back i am not sure if the .centercolumn {} was in the stylesheet.css already or i added it in myself

if its not, add the following

.centercolumn { height: 130px !important; }

make sure to have '!important' in it or it wont work

10 Mar 2011, 3:40 PM
#3
niallo58 avatar

niallo58

New Zenner

Join Date:
Feb 2011
Posts:
34
Plugin Contributions:
0

Re: defining row height for product listing page

Hi

I am currently creating a webpage with 50 items per page and this is a nightmare for scrolling because the items are too far away from each other.

Is there a way to makes the items closer together so that there is less scrolling involved?

Here is what it looks like now... i want to make the rows smaller(height wise i mean) so they are closer together and less scolling is involved

http://mauricedoodysales.com/index.php?main_page=index&cPath=83_206_387

Could someone please help me!!!

Thank you
Niall

10 Mar 2011, 3:41 PM
#4
niallo58 avatar

niallo58

New Zenner

Join Date:
Feb 2011
Posts:
34
Plugin Contributions:
0

Re: defining row height for product listing page

Hi

I am currently creating a webpage with 50 items per page and this is a nightmare for scrolling because the items are too far away from each other.

Is there a way to makes the items closer together so that there is less scrolling involved?

Here is what it looks like now... i want to make the rows smaller(height wise i mean) so they are closer together and less scolling is involved

http://mauricedoodysales.com/index.php?main_page=index&cPath=83_206_387&zenid=cc73ee30d1b4fef2ea831331db10f537

Could someone please help me!!!

Thank you
Niall

10 Mar 2011, 5:12 PM
#5
kobra avatar

kobra

Black Belt

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

Re: defining row height for product listing page

Start with truning the image off

admin > config > product listing > Display Product Image > set to "0"

Zen-Venom Get Bitten

10 Mar 2011, 5:18 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: defining row height for product listing page

You could add this to stylesheet.css:

.productListing-odd, .productListing-even {
line-height: .5em;
}

You'll have to make sure your images (if you intend to add them) will fit in that space.

10 Mar 2011, 7:54 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,717
Plugin Contributions:
0

Re: defining row height for product listing page

Moderator's note - previous thread merged here. Please do not repost the same problem/question in multiple places.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 Mar 2011, 10:18 AM
#8
niallo58 avatar

niallo58

New Zenner

Join Date:
Feb 2011
Posts:
34
Plugin Contributions:
0

Re: defining row height for product listing page

stevesh:

You could add this to stylesheet.css:

.productListing-odd, .productListing-even {
line-height: .5em;
}

You'll have to make sure your images (if you intend to add them) will fit in that space.

Perfect, this did the job alright :smile: and thanks kobra as well, I removed the item image and it looks perfect now :cool:

Thanks alot stevesh and kobra