Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2010
    Posts
    13
    Plugin Contributions
    0

    Default activate a border line

    Hi!

    How do I activate a border line between products in product listing?
    I want only a singel product in each row.

    I know I can install a module called:
    Column Layout Grid for Product Listing

    Is it possible to configure the Column Layout Grid to only have one product in a single row?

    Thanks!

    Br
    Eno

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

    Default Re: activate a border line

    You can add something like this to your stylesheet:

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

  3. #3
    Join Date
    Mar 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: activate a border line

    Thanks.

    I did a try with this ->
    \zencart\includes\templates\classic\css\stylesheet.css

    .productListing-data {
    border-top: 1px solid #000000;
    border-bottom:1px solid;
    padding: 0.50em 2em 0.50em 2em;
    }

    Save the css-file and restarted httpd services.
    Nothing happen. It is the right css-file? This is a default installation.

    Br,
    Eno

  4. #4
    Join Date
    Mar 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: activate a border line

    sorry! its work :) thank you!

  5. #5
    Join Date
    Mar 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: activate a border line

    New problem!

    In a singel row, it's 3 cells. I want to hidden the border in the middle. How do the css stylesheet now how to hidden the middle border?

    Br,
    Eno

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: activate a border line

    Since the individual cells in the product listing are not identified, you would need to do a bit of CSS manipulation. Be aware that IE6 can't handle the standard CSS that does this, so users of that will see just a solid line.
    Code:
    .productListing-data {
    border-top: 1px solid #000000;
    border-bottom:1px solid;
    padding: 0.50em 2em 0.50em 2em;
    }
    
    
    .productListing-data+.productListing-data {
    border: none;
    }
    
    
    .productListing-data+.productListing-data+.productListing-data {
    border-top: 1px solid #000000;
    border-bottom:1px solid;
    }

  7. #7
    Join Date
    Mar 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: activate a border line

    Thank you very much. You are good!
    Now, I got a perfectly look.


    Code:
    .productListing-data {
    
    border-bottom:1px solid;
    border-left:1px solid;
    
    padding: 0.50em 2em 0.50em 2em;
    }
    
    
    .productListing-data+.productListing-data {
    border: none;
    border-bottom:1px solid;
    }
    
    
    .productListing-data+.productListing-data+.productListing-data {
    border-bottom:1px solid;
    border-right:1px solid;
    }

 

 

Similar Threads

  1. Border line missing
    By rikartalex in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2007, 01:37 PM
  2. Adding a border line to Products
    By firestalker in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jun 2007, 09:35 PM
  3. please help me removing a border or is it a line?
    By dijk777 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 May 2006, 03:10 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