Zen Cart Logo
Forums / Basic Configuration / How do I add line to the product listing page

How do I add line to the product listing page

Locked

Views: 1,555

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Mar 2007, 7:51 PM
#1
amopro avatar

amopro

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

How do I add line to the product listing page

How do I add line to the product listing page. As you see red line on my pictures below.

15 Mar 2007, 9:12 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How do I add line to the product listing page

amopro:

How do I add line to the product listing page. As you see red line on my pictures below.

Please provide a www URL...

15 Mar 2007, 9:35 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I add line to the product listing page

Or if you are on a local server for development, describe what you want.
If you want a line between listing items (a common desire), read on...

There are a couple of ways to modify the product listing layout.
This definition added to the end of your stylesheet.css will give some space around each element of your product listing, and put a line under each item in the list:

.productListing-data {
padding: 0.5em;
border-bottom: 1px solid #33CC99;
}

Change the numbers as you wish; eliminate the border-bottom if you don't want the line. You can just have padding-bottom if you want.

For more complete control of spacing, dweingart submitted a nice simple mod which can be seen here (posts 8-14 especially). It allows product listing columns to be addressed separately and positioned/styled.

16 Mar 2007, 3:01 PM
#4
amopro avatar

amopro

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

Re: How do I add line to the product listing page

Thank you verymuch GJH42 it's easy than I think