• Hi
    I’m editing style.css in a child theme trying change the black background colour in the mobile Nav bar to a red opacity but it keeps defaulting back to a black opacity.

    The default setting below in the inspector doesn’t link to my child CSS

    @media (max-width: 768px)
    .navbar-fixed-top .navbar-collapse {
    background: rgba(10, 10, 10, .9) !important;
    }

    The inspector says it’s linked to http://localhost:8888/test/wordpress/?responsive-menu-preview=true

    How do I override this in style.css and control the colour?

Viewing 1 replies (of 1 total)
  • Hi @hayk18,

    Please try the following CSS code:

    @media (max-width: 768px){
    .navbar-fixed-top #custom-collapse {
        background-color: #d45e5e!important;
    } }

    Let me know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Background colour in Collapse menu issue’ is closed to new replies.