Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding a line between products

Adding a line between products

Locked

Views: 1,011

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Feb 2009, 5:26 PM
#1
knottybynature avatar

knottybynature

New Zenner

Join Date:
Jul 2007
Location:
Western New York
Posts:
48
Plugin Contributions:
0

Adding a line between products

When you go to a category to view products, they all look smooshed together:

http://knottybynature-ny.com/index.php?main_page=index&cPath=2_6

Visiting a page on someone else's site, they have some nice divider lines between their products:

http://bellirosa.com/store/index.php?main_page=index&cPath=127_140

Do I change the CSS? What do I change and where, so all my products are separated?

Thanks for your help!!!

19 Feb 2009, 5:32 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Adding a line between products

Yes, it's CSS. This is the styling used on that particular site and is typcial of how people achieve this effect> .productListing-data {

border-bottom:1px solid #CC0000;
padding:0.5em;
}

21 Feb 2009, 1:04 PM
#3
knottybynature avatar

knottybynature

New Zenner

Join Date:
Jul 2007
Location:
Western New York
Posts:
48
Plugin Contributions:
0

Re: Adding a line between products

Thank you for the info...being an amateur at this tho...where would i put this in the CSS to have the line in between my products in all categories?

As always, help is appreciated!!!!

Thanks,
Cat

21 Feb 2009, 2:56 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Adding a line between products

Open stylesheet.css

Look for:

.productListing-data

(It may be part of a "list"... meaning that it shares styles with other elements).

If it does appear in a list, make sure that the styles do not conflict with:

border-bottom:1px solid #CC0000;
padding:0.5em;

If there are no conflicts, you can put the declaration anywhere in the stylesheet. It's probably good practice to stick it at the bottom, under a commented section called:

/* My css edits */

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

... then you know it's a change you made, and you know where to find it.

23 Feb 2009, 5:44 PM
#5
knottybynature avatar

knottybynature

New Zenner

Join Date:
Jul 2007
Location:
Western New York
Posts:
48
Plugin Contributions:
0

Re: Adding a line between products

AWESOME!!! It worked easily! I was able to add this to my friend's website that I did for her too. Makes everything look that much more organized & professional. Thank you!!!!!

Cat