Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #885098

    Hello,
    I have an issue with my mobile dropdown menu as it is very difficult to see it. I want to keep the current color and transparency of the normal menu and therefore only change the color of the mobile menu.
    Right now i have this code for the main menu:

    #top .sub-menu {
    background: rgba(183,91,82,0.7) !important;
    }
    .sub-menu, .sub-menu * { background: transparent !important; }

    Do you have a CSS to change the mobile menu without interfering with the computer menu?

    Thank you,
    Andreas

    #885100
    #885427

    Hi,

    You should be able to control that if you place the CSS inside a media query like this:

    @media only screen and (max-width: 767px) {
      #top .sub-menu {
        background: rgba(183,91,82,0.7) !important;
      }
      .sub-menu, .sub-menu * { 
        background: transparent !important; 
      }
    }

    Just change the values to your preferred colours.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.