Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default adding a border to my product listing?

    when I click on all products http://www.viktorviktoriashop.com/th...e=products_all

    it has that black line the sepperates the products listing but when I click on a normal categories that black line is not there. http://www.viktorviktoriashop.com/th...ndex&cPath=196

    How can I get that black line on all of my listings?

  2. #2
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    templates\YOUR_TEMPLATE\templates\tpl_modules_products_all_listing.php — Line 201-203

    Remove:

    Code:
              <tr>
                <td colspan="3"><hr /></td>
              </tr>
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  3. #3
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    I dont want to take it out I want to add it to all of the lisitngs? those lines only show when you click on all products and new products. I want the lines to show up when you click on any category.

  4. #4
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    Did you try? Its only for "All Products" page, I believe.
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  5. #5
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    I guess I dont understand what you are asking me to do?

  6. #6
    Join Date
    Sep 2007
    Posts
    73
    Plugin Contributions
    2

    Default Re: adding a border to my product listing?

    Quote Originally Posted by Nimbuz View Post
    templates\YOUR_TEMPLATE\templates\tpl_modules_products_all_listing.php — Line 201-203

    Remove:

    Code:
              <tr>
                <td colspan="3"><hr /></td>
              </tr>
    Take this code and add it to your tpl_tabular_display.php.
    it is located in the /includes/templates/template_default/common folder. Add at the very end and it should look similar to this below for teh last 10 or so lines:


    <?php echo '<' . $cell_type . $c_params . '>'; ?><?php echo $list_box_contents[$row][$col]['text'] ?><?php echo '</' . $cell_type . '>' . "\n"; ?>
    <?php
    }
    }
    ?>
    </tr>
    <tr>
    <td colspan="3"><hr /></td>
    </tr>

    <?php
    }
    ?>
    </table>

    Also, if you are going ot us columns you need to NOT have this as it does mess up the layout if you are using the column mod.

    Dale (my first answer that works).

  7. #7
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    Thank you very much that worked

  8. #8
    Join Date
    Feb 2008
    Location
    Western Australia
    Posts
    192
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    I have added this as well. My question though, how do I make the hr a different colour and dashed please?

  9. #9
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    Quote Originally Posted by Crooked_Halo View Post
    I have added this as well. My question though, how do I make the hr a different colour and dashed please?
    In your stylesheet find the bit for HR and change it to this:

    Code:
    HR {
        height: 1px;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        border: none;
        border-bottom: 1px dashed #6eac7c;
        }
    Change the color etc to suit (I took this from mine for you as mine is colored and dashed)
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  10. #10
    Join Date
    Feb 2008
    Location
    Western Australia
    Posts
    192
    Plugin Contributions
    0

    Default Re: adding a border to my product listing?

    Yay ! Thanks Christon26. Your a champion.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Listing Border
    By neighbornick in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 May 2009, 12:42 AM
  2. Product Listing Border
    By MoreMana in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Feb 2009, 05:33 PM
  3. Adding Border Round Each Listing
    By metalarea in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Oct 2007, 08:31 PM
  4. Product Listing Border
    By voltage in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Jun 2006, 01:35 AM
  5. Border on product-listing in column
    By raimond in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2006, 11:22 PM

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