[Resolved] Different color on Mobile primary navigation

Home Forums Support [Resolved] Different color on Mobile primary navigation

Home Forums Support Different color on Mobile primary navigation

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #1359907
    Huseyin

    Hi GeneratePress,

    Hope your weekend is going well?

    So I need help on changing the color Mobile primary navigation. The colors I chose for the default is basically white background white, black text with a black coloured logo.

    But I want to have a black background, white text with a white logo on mobile devices.

    Wondering how could I achieve this with CSS?

    However, I have seen this post from Jamal regarding
    https://generatepress.com/forums/topic/how-to-style-navigation-menu/#post-347001

    #1360277
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1360651
    Huseyin

    Thanks for the reply Leo,

    I have inserted the URL but the site is not live so I have attached the wp-admin details too

    #1361069
    Leo
    Staff
    Customer Support

    Are you referring to just the header or the actual navigation as well?
    https://www.screencast.com/t/423Rg7fByM

    #1361547
    Huseyin

    Just the header, please

    #1361811
    David
    Staff
    Customer Support

    Hi there,

    if you’re using the Mobile Header then try this CSS:

    #mobile-header {
        background-color: #ff0000;
    }
    #1361835
    Huseyin

    Hi David,

    That CSS code doesn’t work.

    #1362174
    Leo
    Staff
    Customer Support

    Try turning on the mobile header option:
    https://docs.generatepress.com/article/mobile-header/

    Then you can upload a separate (white) logo and use David’s CSS.

    #1362597
    Huseyin

    Done, got the white logo upload and inserted David’s CSS.

    However, can’t get the .menu-toggle to be white. Also used the same code from Jamal but doesn’t seem to work.

    https://generatepress.com/forums/topic/how-to-style-navigation-menu/#post-347001

    #1362634
    Leo
    Staff
    Customer Support

    Can you disable the maintenance mode so I can see the site and provide the CSS?

    #1369575
    Huseyin

    sorry for the late reply.
    I have disabled the maintenance mode

    #1369831
    Leo
    Staff
    Customer Support

    Try this CSS:

    .mobile-header .menu-toggle {
        color: #FFFFFF !important;
    }
    #1400764
    Huseyin

    Hi Leo,

    It’s not working.

    (SORRY FOR THE LATE REPLY, BEEN VERY BUSY)

    #1401163
    Leo
    Staff
    Customer Support

    What is not working?

    I see the last CSS I’ve provided working fine:
    https://www.screencast.com/t/P2FubXLB1Y

    #1406903
    Huseyin

    Ohhhhhh sh*t sorry mate,

    Sorry for wasting your valuable time.

    Once again thank you for helping out.

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