Support » Theme: Portum » Change primary menu background color for mobile devices only

  • Resolved ajamaleddin

    (@ajamaleddin)


    Hello,

    I am trying to set a different background color for my primary menu in mobile view ONLY (the hamburger button menu). How can I do that with additional CSS?

    Thanks in advance,
    AJ

Viewing 4 replies - 1 through 4 (of 4 total)
  • ajamaleddin

    (@ajamaleddin)

    I tried adding the following to “Additional CSS” but it didn’t work

    #mobile-menu {
    background-color: rgba(4, 4, 4, 4) !important;
    }

    mplusb

    (@mplusb)

    Hello @ajamaleddin,

    To change the menu’s background color only on mobile please add the following code in Appearance > Customize > Additional CSS:

    @media screen and (max-width: 800px) { #menu {
        background-color: lightblue;
    } }

    All the best,
    Mihaela

    ajamaleddin

    (@ajamaleddin)

    Fix worked.
    Thanks for your prompt response!

    mplusb

    (@mplusb)

    You’re most welcome!

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