[Resolved] Header color on mobile view

Home Forums Support [Resolved] Header color on mobile view

Home Forums Support Header color on mobile view

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #572864
    Leo
    Staff
    Customer Support

    Try editing your CSS to this:

    @media (max-width: 768px) {
        body:not(.home) .main-navigation {
            background-color: #492b11;
        }
    }

    Let me know.

    #572975
    Larry

    Hey

    That worked great! Now how do I achieve the same effect on the Our Brands page?

    I tried adding the same code and targeting the page id, but no go ๐Ÿ™

    @media (max-width: 768px) {
        body:not(.page-id-657) .main-navigation {
            background-color: #492b11;
        }
    }
    #573067
    David
    Staff
    Customer Support

    Hi Larry,

    if you want to exclude the color from home and brands then we can combine the code Leo provided like so:

    @media (max-width: 768px) {
        body:not(.home):not(.page-id-657) .main-navigation {
            background-color: #492b11;
        }
    }
    #573493
    Larry

    Wonderful!

    Thanks for your help, your theme has been great to work with and your support forum has been a very valuable resource ๐Ÿ™‚

    Thanks!

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.