Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Category Sidebox -- Change Font Color on hover

    Hi

    I changed my stylesheet to have the Category names turn from blue to red when you hover on them. I tried to make it work like Important Links and Information sideboxes. It doesn't. Even after I clear my cache, some category names come up red and other blue. Sometimes they're all blue. Other times they're all red. Inconsistent.

    What did I do wrong? How do I fix it?

    As an extra, I'd like to have the name go bold too on hover. My eyes are straining.

    www.rabbitinmyhat.com
    version 1.3.7
    using Firefox to view

    Thanks
    John

  2. #2
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    Hello,

    I was curious why you have it on your CSS as A.category-top

    Shouldn't it be just .category-top
    Steve
    Zen cart version: 1.3.9h

  3. #3
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    Quote Originally Posted by FatGuyinAZ View Post
    Hello,

    I was curious why you have it on your CSS as A.category-top

    Shouldn't it be just .category-top
    Hi Steve

    I don't know the difference between those two. I just tried to make it look like the other sideboxes as I understood them. I'll go to w3schools and see if I can figure out the difference and if it impacts what I tried to do.

    Thanks
    John

  4. #4
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    LOL I don't know either. I am just learning this stuff (trying to learn). What would happen if you removed the A from all your CSS entries for that particular section? You have it a few times in a section on the CSS. If it doesn't help you can always add the A again.

    Hopefully one of the Zen Cart gurus will step in and point us both in the right direction.
    Steve
    Zen cart version: 1.3.9h

  5. #5
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    I just took a look at your stylesheet. Found your A.category-top entries. You have this in front of it: .sideBoxContent
    I don't have that. I'll check the original ZC stylesheet. Maybe I inadvertently deleted it.

    John

  6. #6
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    That's funny, I don't even know what I have. I will learn eventually and I will continue to make myself look funny. But it's all good.

    I wish you luck on this.
    Steve
    Zen cart version: 1.3.9h

  7. #7
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    Quote Originally Posted by johnd View Post
    Hi

    I changed my stylesheet to have the Category names turn from blue to red when you hover on them. I tried to make it work like Important Links and Information sideboxes. It doesn't. Even after I clear my cache, some category names come up red and other blue. Sometimes they're all blue. Other times they're all red.

    As an extra, I'd like to have the name go bold too on hover. My eyes are straining.
    J,

    You have duplicated the following declarations below in your stylesheet.css

    A.category-top, A.category-top:visited {
    color: #004080;
    text-decoration: none;
    }
    A.category-top, A.category-top:hover {
    color: #FF0000;
    text-decoration: none;
    }

    Delete the following and replace the two above with these:
    Adjust the red letters to your needs.

    A.category-top {
    color: #3300FF;
    text-decoration: none;
    }

    A.category-top:visited {
    color: #000000;
    text-decoration: none;
    }

    A:hover {
    font-weight: bold;
    }
    Mark
    Hare Do

  8. #8
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    haredo

    Thanks so much -- works like a charm!

    John

  9. #9
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    J,
    you are most welcome, glad I could assist you.
    Mark
    Hare Do

  10. #10
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Category Sidebox -- Change Font Color on hover

    Hello,
    I have:
    A.category-top, A.category-top:visited {
    color: #008000;
    text-decoration: none;
    font-size: 1.2em;
    }

    A:hover {
    color: #0000FF;
    }

    Its working, but when I hover over visited links, they won't highlight. How can I change it so that the visited links also gets highlighted? Thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Change Hover Color On SideBox
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Oct 2012, 06:52 AM
  2. How to change the font color of category(not in sidebox)?
    By jl311811 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2009, 11:21 AM
  3. Change attribute font size & hover color
    By mkopecky in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 27 Apr 2009, 09:46 PM
  4. How can I change font color in category (in sidebox)?
    By yhzhangb in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2006, 10:42 PM
  5. Font hover color in cart sidebox
    By onisama in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 11 Jul 2006, 04:06 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR