Home Forums Trusted Pro Change the background colors of the dropdown menu

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6478
    Adri Oosterwijk
    Participant

    Hi Andy,

    Just a little question:

    How can I change the background color of the drop-down menu?

    I tried it using

    
    #primary-menu ul{
    backgound-color: #7f7f7f!important;
    }
    

    but that did not work. It is somehow overwritten.

    What can I do?

    Best wishes,

    Adri

    #6480
    Andy
    Keymaster

    There are a couple of errors in your code, missing letter r from background and there should be a space before !important.

    Either of these should work (no need to use ‘!important’ in this case)

    #primary-menu ul{
    background-color: #7f7f7f;
    }

    or

    #primary-menu ul{
    background: #7f7f7f;
    }
    #6482
    Adri Oosterwijk
    Participant

    Sorry, my bad!

    I stared about an hour or so on it and never noticed it…….

    Thanks for correcting my flaw.

    #6563
    Adri Oosterwijk
    Participant

    Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change the background colors of the dropdown menu’ is closed to new replies.