Site logo

[Resolved] Different Primary Navigation Color for Pages and Individual Posts

Home Forums Support [Resolved] Different Primary Navigation Color for Pages and Individual Posts

Home Forums Support Different Primary Navigation Color for Pages and Individual Posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1441978
    Christian

    Hello, GP team 🙂

    Is there a way to have a different color for the Primary Navigation on Pages and on Individual Blog Posts?

    I’m using the “Use Navigation as Header” option, so I can’t really select the “Merge with Content” option on my header element.

    #1442096
    David
    Staff
    Customer Support

    Hi there,

    are you using the Merged Header anywhere on the site ?
    If not use it to change the navigation colors, then add this CSS to remove the Merge:

    .header-wrap {
        position: static;
    }
    #1450376
    Christian

    Working now!

    Thanks, David! You’re coolbeans.

    #1450429
    David
    Staff
    Customer Support

    Glad to be of help

    #1583192
    Christian

    Quick question!

    I just moved to a child theme and the code doesn’t work when added to the stylesheet, but it does if left in the Additional CSS from the Customizer.

    The rest of the CSS code I have does work fine inside the stylesheet.

    #1583201
    David
    Staff
    Customer Support

    Does it work if you give it some !important:

    .header-wrap {
        position: static !important;
    }
    #1583230
    Christian

    Heh, yes. Thanks, David! 🙂

    #1583291
    David
    Staff
    Customer Support

    You’re welcome

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