Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default All Products and Shopping Cart contents even/odd color problem

    I think I got a little too agressive and managed to mess up the alternating background colors on the All Products Page and the items that get placed in the shopping cart.

    http://uniqueideasnmore.com/shopping...e=products_all

    As you can see, the even numbered rows have a black background, making the text impossible to read.

    I've search the threads and cannot manage to find anything that would help to remedy the problem.
    I am using a modified "A Pink Boutique" template, and my stylesheet has the contains the following code that may, or may not, be relevant:

    /*bof product listing display*/
    .productListing-even {background-color: #FFFFFF; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}
    .productListing-odd {background-color: #FFFFFF; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}

    /*bof generic classes*/

    .rowOdd {background-color: #FFFFFF; height: 1.5em; vertical-align: top;}
    .rowEven {background-color: #FFFFFF; height: 1.5em; vertical-align: top;}

    Any guidance would be greatly appreciated.

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

    Default Re: All Products and Shopping Cart contents even/odd color problem

    In stylesheet-working.css:

    .productListing-even {background-color: #000000; border-bottom: 1px solid #000000; border-top: 1px solid #000000;}

    Zencart loads all stylesheets whose name begins with 'style' and that have the extension .css that it finds in the current template's css folder. If you, for some reason, want to have unused stylesheets in that folder, name them something like stylesheet.working.

  3. #3
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: All Products and Shopping Cart contents even/odd color problem

    Thanks much!

    You just taught this newbie to CSS a very important lesson. Getting rid of my improperly renamed backup fixed the problem.

    It will probably help me fix some of the other little things for which no change to the stylesheet.css seemed to have no effect.

    Thaks again for such a timely response.

 

 

Similar Threads

  1. Your Shopping Cart Contents
    By LuciStuff in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 May 2011, 09:54 PM
  2. Your Shopping Cart Contents color change
    By d1rage5 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Nov 2010, 04:18 PM
  3. shopping cart contents and new properties to the products
    By stitchnkitty in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Nov 2009, 05:50 PM
  4. Shopping Cart Header and contents display problem
    By fastdc5 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Feb 2009, 10:20 PM
  5. Shopping Cart Contents Layout Problem
    By micmed in forum General Questions
    Replies: 4
    Last Post: 17 Oct 2008, 12:55 AM

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
  •