Changing Background Hover Color of Submenu Items

  • Author
  • #63522
    Power User

    Hello. I found the following code in this forum to change the background color of submenu items and tried it out, but it isn’t doing anything. I’ve tried it out both in the Cryout Creations Mantra Settings > Miscellaneous Settings and on Appearance > Customize > Additional CSS. The submenu items I’m trying to effect are in the Books for Sale menu item on this site in development:

    /* change the background color of submenus *
    #access ul ul li a:hover {
    background-color:#1da209 !important ;
    overflow:none !important;
    */prevents color from going outside the box
    #access ul ul a, #access ul ul ul a {
    width:auto !important;

    Thanks if you can help.


    Cryout Creations Team

    Please remove that CSS and use this instead:

    #access ul ul.sub-menu li a {
        background: #002F00;

    If you like our creations, help us share by rating them on
    Please read the available documentation and search the forums before posting.
    Power User

    Zed, works fine and is simpler, too. Thanks!


Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Changing Background Hover Color of Submenu Items’ is closed to new replies.