Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    46
    Plugin Contributions
    0

    help question Sub Categories Hover Color Confusion

    I have everything on my stylesheet figured out and working except the sub categories. The links should be black and hover purple like my top categories and all my other side box content. Some sub categories are black and hover purple and some are purple and hover purple. Here is the pertinent code I have:

    /* categories box parent and child categories */
    A.category-top, A.category-top:visited {
    color: #000000;
    text-decoration: none;
    }
    A.category-top, A.category-top:hover, #navcategoriesBoxContentTOC ul li {
    color: #990099;
    }
    A.category-links, A.category-links:visited {
    color: #000000;
    text-decoration: none;
    }
    A.category-links, A.category-links:hover, #navcategoriesBoxContentTOC ul li {
    color: #990099;
    }
    A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited {
    color: #000000;
    text-decoration: none;
    }
    A.category-subs, A.category-products, A.category-subs:hover, A.category-products:hover, #navcategoriesBoxContentTOC ul li {
    color: #990099;
    }
    SPAN.category-subs-parent {
    font-weight: bold;
    }
    SPAN.category-subs-selected {
    font-weight: bold;
    }
    /* end categories box links */

    Here is my URL:
    http://chic-perfumefragrance.com

    Anyone know what I did wrong here or where else on the stylesheet something may be confusing it??

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Sub Categories Hover Color Confusion

    Looks like you repeated these in red in the first one to the second:
    Code:
    A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited{
    color: #000000;
    text-decoration: none;
    }
    A.category-subs, A.category-products, A.category-subs:hover, A.category-products:hover, #navcategoriesBoxContentTOC ul li {
    color: #990099;
    }

  3. #3
    Join Date
    Apr 2007
    Posts
    46
    Plugin Contributions
    0

    help question Re: Sub Categories Hover Color Confusion

    I fixed that and it was working for a couple of days but now they are all mixed up again.
    I tried seperating out the category-subs from the category products but that didn't work.
    I tried changing #navcategoriesBoxContentTOC to #navcategoriesListBoxContentTOC to #navcategoryBoxContent to #navcategoryListBoxContent and none of those changes worked. Any new ideas as to why it is not working now?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Sub Categories Hover Color Confusion

    Code:
    .sideBoxContent a:hover, #navsideBoxContentTOC ul li {
    	color: #990099;
    	}
    
    
    A.category-top, A.category-top:hover, #navcategoryListBoxContentTOC ul li {
                 color: #990099;
                 }
    
    A.category-links, A.category-links:hover, #navcategoryListBoxContentTOC ul li {
                 color: #990099;
                 }
    
    A.category-subs, A.category-subs:hover, #navcategoryListBoxContentTOC ul li {
                 color: #990099;
                 }
    I do not think that any of the red highlighted div tags exist in the code unless you have added them to the code. If they do not exist in the code you can not address them in the stylesheet.css

 

 

Similar Threads

  1. Hover Color Categories Side Box
    By matchlock in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Jul 2011, 04:20 AM
  2. Categories and sub categories confusion
    By TPHoare in forum General Questions
    Replies: 2
    Last Post: 25 Oct 2009, 10:42 PM
  3. Hover Color For Categories
    By Bob88Vette in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Jul 2008, 12:45 PM
  4. Sub categories displayed when hover over categories?
    By roger06 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Mar 2008, 02:28 PM
  5. Categories Hover Color
    By beasleybub in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2006, 04:54 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