menu background & hover colors

  • Posted in : TheBlogger
  • Steve B
    Participant

    Sorry for all the posts! I really appreciate all your fine work!

    I wanted to do the following to the regular menu, but when I add this to the custom CSS, it messes up the mobile menu. How can I do this without changing the mobile menu?

    .is-submenu-dark .nav-menu ul ul li {
    background-color: #555555;
    }

    .is-submenu-dark .nav-menu ul ul li a:hover {
    background: #6b6b6b;
    }

    Thanks!

    serkan
    Moderator

    Hi Steve,
    You can only target the desktop view by adding the media code at the beginning.

    @media screen and (min-width: 992px) {
    .is-submenu-dark .nav-menu ul ul li {
    background-color: #555555;
    }
    .is-submenu-dark .nav-menu ul ul li a:hover {
    background: #6b6b6b;
    } }

    Thanks

    Steve B
    Participant

    Oh I see, perfect – works good! Thanks Serkan!

    serkan
    Moderator

    You are welcome.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register