[Resolved] CS class for "Use navigation as header"

Home Forums Support CS class for "Use navigation as header"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #978455
    Kevin

    I want to write custom CSS that applies only to the header when “Use header as navigation” is selected.

    Does GP add a class anywhere I could use?

    Kevin

    #978534
    Leo
    Staff
    Customer Support

    Hi there,

    There isn’t a specific class added when that option is used.

    It should just be the .main-navigation class.

    Let me know 🙂

    #979171
    Kevin

    Can you suggest a way I can write CSS that targets just the “Use navigation as header”?

    If the dev team accepts ideas, I’d like to suggest adding a class to the nav when “use header as navigation” is enabled.

    Thanks.

    Kevin

    #979189
    Leo
    Staff
    Customer Support

    Not sure why that would be needed.

    When the option is checked, then the navigation becomes the header so you can just use the .main-navigation suggested above.

    Are you for some reason only using the navigation as header option on some pages?

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