Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Hover over Categories & Documents not working

    I have the hovor color set and when I move across linkable text, the color changes.

    BUT---not on the text in the categories or the documents boxes.

    I would like these areas to respond in the same manner as the rest of the page.

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

    Default Re: Hover over Categories & Documents not working

    The categories links are defined after the generic link/hover declarations and are more specific, so they would override that. Find the a.category-top {} declaration and add an a.category-top:hover {} with your desired behavior. Do the same for other category links as desired.

  3. #3
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Hover over Categories & Documents not working

    Quote Originally Posted by gjh42 View Post
    The categories links are defined after the generic link/hover declarations and are more specific, so they would override that. Find the a.category-top {} declaration and add an a.category-top:hover {} with your desired behavior. Do the same for other category links as desired.
    OK...I cahnged the colors. For some reason my cart doesnt keep track of lniks Ive been to. The cateogory links declaration changes only the

    New Products ...
    All Products ...

    text at the bottom of the category box.

    AND....

    I can't seem to get the hover function to work.

    I tried:

    A.category-top, A.category-top:visited {
    color: #2C3333;
    text-decoration: none;
    hover,
    color: #0000CC;
    }

    as well as

    A.category-top {
    hover,
    color: #003333;
    }

    What am I doing wrong??

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

    Default Re: Hover over Categories & Documents not working

    You are doing the :hover wrong.
    Also, to get different results for :link and :visited, you need to have them separate and give them different colors.
    Code:
    A.category-top {
        color: #2C3333;
        text-decoration: none;
        }
    
    A.category-top:visited {
        color: #2C33ff;
        }
    
    A.category-top:hover {
        color: #0000CC;
        }

  5. #5
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Hover over Categories & Documents not working

    Quote Originally Posted by gjh42 View Post
    You are doing the :hover wrong.
    Also, to get different results for :link and :visited, you need to have them separate and give them different colors.
    Code:
    A.category-top {
        color: #2C3333;
        text-decoration: none;
        }
    
    A.category-top:visited {
        color: #2C33ff;
        }
    
    A.category-top:hover {
        color: #0000CC;
        }
    OK....got it....hover works....but visited links,categories,products still do not change, even after I seperated all of the declarations, visited being assigned a different color .

    Are those ONLY going to light up if a user is logged in??

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

    Default Re: Hover over Categories & Documents not working

    You need to make sure the :visited is declared after the :link; otherwise it will be overruled by the :link declaration. Could there be another a.category-top {} in the stylesheet after the one you edited?

    Being logged in is not relevant to this.

 

 

Similar Threads

  1. My Define Pages & make new categories not working
    By hedgepig in forum General Questions
    Replies: 3
    Last Post: 31 Jan 2010, 06:27 PM
  2. Attributes & download button not working via categories...
    By pascal020 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Aug 2009, 04:27 PM
  3. 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
  4. Changing the TEXT Color of the Product Categories & Documents Boxes
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Nov 2007, 10:08 PM
  5. hover on additional images not working?
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 May 2007, 07:11 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