Zen Cart Logo
Forums / Addon Templates / horizontal rules between categories on category pages

horizontal rules between categories on category pages

Locked

Views: 2,582

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Feb 2007, 1:56 AM
#1
prodesk avatar

prodesk

New Zenner

Join Date:
Dec 2006
Posts:
44
Plugin Contributions:
0

horizontal rules between categories on category pages

I have come across a couple of templates that have the horizontal rules between the categories on the categories pages, like on the "all products" pages. I have seen several references to it requiring a lot of custom code to create this.

But it would seem to be something that could be copied from one template to another (basically) to implement the feature in a template that didn't provide for the HR...

The "Candied Apple" template contains the HR I am taling about and it can be viewed at

http://(sorry, site offline)/137/index.php?main_page=index&cPath=23

And I woud like to implement this capability on several sites that do not provide for this in teir templates.... for example...

http://thesensualspa.com/index.php?main_page=index&cPath=15

Failing that can anyone point me to where I couold make a change that would add space between the categories on the category pages? I want to separate the pictures, you xan see why at

http://thesensualspa.com/index.php?main_page=index&cPath=15

Thanks in advance'
Best Regards
ProDesk

12 Feb 2007, 2:52 AM
#2
kobra avatar

kobra

Black Belt

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

Re: horizontal rules between categories on category pages

Just find or add this to your stylesheet.css and adjust to suit:

.productListing-data {
        padding-bottom: 1.5em;
        border-bottom: 1px solid #000000;
        }
12 Feb 2007, 5:34 AM
#3
prodesk avatar

prodesk

New Zenner

Join Date:
Dec 2006
Posts:
44
Plugin Contributions:
0

Re: horizontal rules between categories on category pages

Excellent, thanks Kobra, I also added...

padding-top: 1.5em;

to gain the same spacing between the HR and the pictures, above and below...

Having always worked with Front Page and using tables I haven't really been exposed to the underpinnings in CSS or even raw HTML for that matter. But I have been doing web sites for some time now and gennerally just need to be pointed in the right direction to get the job down.

Thanks for the "pointing"...

Best Regards
Prodesk

6 Apr 2007, 3:59 AM
#4
mrbafner avatar

mrbafner

New Zenner

Join Date:
Mar 2007
Posts:
11
Plugin Contributions:
0

Re: horizontal rules between categories on category pages

Thanks Kobra, just what I was looking for!!

6 Apr 2007, 8:29 PM
#5
jonisolis avatar

jonisolis

Zen Follower

Join Date:
Jan 2006
Location:
Kentwood, Louisiana, United States
Posts:
117
Plugin Contributions:
0

Re: horizontal rules between categories on category pages

I too found this info very helpful and it makes the cart products data nicer looking and easier to read. Thanks!