[Resolved] Use Navigation as Header

Home Forums Support [Resolved] Use Navigation as Header

Home Forums Support Use Navigation as Header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1333064
    Christophe

    I’d like to enable the “Use Navigation as Header” (sticky) option on all pages except for the frontpage (where I have the navigation sticky below the header).
    I’ve been trying to achieve this using Elements but I can not get the site logo displayed inside the navigation bar.
    Am I doing something wrong or is this not possible?

    #1333090
    Leo
    Staff
    Customer Support

    Hi there,

    Give this PHP snippet a shot:
    https://generatepress.com/forums/topic/different-menu-layout-for-homepage/#post-1120165

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    You’d need to replace true with false.

    #1333126
    Christophe

    Works perfectly! Thanks!
    just had to change it to
    if ( !is_front_page() )
    to have the result I had in mind as changing true to false did not seem to work.

    #1333129
    Leo
    Staff
    Customer Support

    No problem 🙂

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