[Resolved] Primary Nav Menu Color Mobile vs Desktop

Home Forums Support [Resolved] Primary Nav Menu Color Mobile vs Desktop

Home Forums Support Primary Nav Menu Color Mobile vs Desktop

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #786507
    Kevin Wabiszewski

    Hello, in the customizer I’m trying to make it so the primary navigation background is red with white font on desktop, then a white background for mobile like how it is now, but when I click on the desktop icon in the customizer and change the color it seems to override the mobile settings. Is there a way to fix this?

    #786530
    Leo
    Staff
    Customer Support

    Hi there,

    I’m not quite sure what you mean.

    There are no mobile specific settings for the Colors module currently.

    If you are referring to the toggle at the bottom right corner of the customizer, they are actually just WP built-in preview feature.

    Can you use the customizer setting to set up what you want on desktop, then I can give you some CSS to change it on mobile?

    Let me know if I understood this correctly πŸ™‚

    #786650
    Kevin Wabiszewski

    Hey Leo, I appreciate that. Here is a screenshot of what I hope it looks like on mobile https://snag.gy/3R4Coc.jpg

    #786691
    Leo
    Staff
    Customer Support

    What about the actual menu item colors?

    Keep them the same as what you have?

    Let me know πŸ™‚

    #786699
    Kevin Wabiszewski

    Yeah that would be fine I can always change the colors later!

    #786731
    Leo
    Staff
    Customer Support

    Give this CSS a shot:

    @media (max-width: 768px) {
        #mobile-header {
            background-color: #ffffff;
        }
        .main-navigation .main-nav ul li a {
            background-color: #ad0500;
        }
        button.menu-toggle {
            color: #ad0500;
        }
    }

    Let me know πŸ™‚

    #787212
    Kevin Wabiszewski

    Worked great thank you!

    #787274
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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