Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Posts
    34
    Plugin Contributions
    0

    Default How and where to insert a Horizontal Rule into an Index Listing?

    Hi,

    I would like to insert a horizontal rule between each product in my product index, so it looks like this.
    At the moment if I come in from the 'Products' sidebox or Nav Cat bar it looks like this (a bit too cramped.)

    So, I know these listings are made up of tables, and the table that renders Featured Products has it (a horizontal rule), as does the table that makes up All Products.

    But how and where (in which file) do I insert this horizontal rule so it renders when listing from the 'Products' sidebox link? I believe how this Line (horizontal rule) appears (width, colour, etc) can be defined in the stylesheet? though I presume I cant create it in CSS?

    Version 1.3.8a wth icatheme template.
    My knowledge of code is v low so simple solutions would be appreciated, though can copy and paste between php files, or paste some code into Stylesheet.

    Thanks in advance..
    Last edited by skelly100; 14 Jul 2010 at 02:11 PM. Reason: more clarity

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How and where to insert a Horizontal Rule into an Index Listing?

    Much easier, I think, to do it in the stylesheet:

    .productListing-data {border-bottom:1px solid #ff0000;}

    There's also this:

    http://www.zen-cart.com/index.php?ma...roducts_id=945

  3. #3
    Join Date
    Nov 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: How and where to insert a Horizontal Rule into an Index Listing?

    Thank you very much!!

    Worked a treat.

    And with a bit of padding, got exactly the effect I want.



    Regards,

    SK

 

 

Similar Threads

  1. Horizontal Rule for Centerbox Modules Content
    By yaseent in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jan 2012, 01:55 AM
  2. horizontal menu table, where to insert?
    By LaTonta in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Sep 2009, 02:07 AM
  3. Remove Horizontal Rule?
    By jymontoya in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Apr 2009, 07:37 PM
  4. How to use a different listing rule for listing new products in a main page???
    By jsteven in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2007, 08:44 AM
  5. Horizontal rule not showing in Firefox
    By Xyon in forum General Questions
    Replies: 5
    Last Post: 15 Oct 2006, 01:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR