WordPress.org

Forums

Menu Hover Color (8 posts)

  1. iamrik
    Member
    Posted 4 years ago #

    Hello,

    I am having a image menu in wordpress with the theme constructor ofcourse. But if i go over the images with my mouse it goes black. This is the site: http://www.iamrik.nl/wandastaalman/

    Anyone can help me to make it transparant?

  2. poundsixzeros
    Member
    Posted 4 years ago #

    Hi,
    Somewhere you've got
    #menu li:hover{
    background-color:#000000;
    } and that is what is causing it to go black.

    Try adding in Constructor->Customize-> CSS (tab) the following:

    #menu li:hover{
    background-color:none;
    }

  3. iamrik
    Member
    Posted 4 years ago #

    Thanks for your quick response :). I have added it in the css. But it isn't working for me. It still stays black?

  4. poundsixzeros
    Member
    Posted 4 years ago #

    Can you find the place in your css file that has the line:
    #menu li:hover { background-color:#000000 }
    and delete it (or comment it out)?

    It looks like it is in themes/constructor/cache/style1.css. I think that file is generated from the css and other selections you make in constructor admin, but I'm not sure about that. In any case, if you can get rid of that line, the black should go away.

  5. DewaSurya
    Member
    Posted 4 years ago #

    Hi..
    I have the same problem. I would like to make the menu background color transparent or none, but it always connected with the "background alternative" color in color setting in customize menu, and I can't get it to be transparent.

    Please help..

  6. antonshevchuk
    Member
    Posted 4 years ago #

    Try next code:

    #menu li:hover{
         background-color:transparent !important;
    }
  7. DewaSurya
    Member
    Posted 4 years ago #

    Thank you, it works.. but..
    in the 2nd level menu, when I put my mouse over the button, it become really transparent without any basic color..
    I expect only the hover background color is transparent not the basic background color.. :)

  8. PaulK123
    Member
    Posted 4 years ago #

    Awesomeness!!!

Topic Closed

This topic has been closed to new replies.

About this Topic