SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS dropdown driving me crazy

    Hi everyone,
    I am trying to figure out this stylesheet issue. I know it is simple, but I have been looking at it too long I need help.
    Here is the url: http://www.centerpointretreats.org/about-us/who-we-are/
    If you look at the drop down menu on "about us" tab you will see it is solid blue (#330099), only on that page all others it is fine. It needs to have a background of white #ffffff and text the #330099.
    Any help would be appreciated!
    Thanks,
    M.

  2. #2
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,734
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    these three rules are battling it out:

    #nav li:hover, #nav li.sfhover {
    background: #330099;
    text-color: #330099;
    }
    #nav .current_page_parent, #nav .current_page_ancestor, #nav .current-cat-parent, #nav .current_page_parent a, #nav .current_page_ancestor a {
    background: #330099;
    color: #fff;
    }
    #nav .current-cat, #nav .current_page_item, #nav .current_page_item a {
    background: #330099;
    color: #fff;
    }

    try removing them, as you have bg color and text color declaration in other places , and these rules seem to be specific to classes generated by your CMS.


    I might start with:
    #nav li:hover, #nav li.sfhover which doesnt even make sensed as it makes the background the same color as the text ( which seems to be the thing that is driving you nuts)

    hope that helps

  3. #3
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks so much you got me on the right track. I actually changed the #nav li:hover, #nav li.sfhover to the correct colors, commented the others out and voila! Thanks again!
    Michell


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
  •