[Resolved] Using Nav as Header

Home Forums Support [Resolved] Using Nav as Header

Home Forums Support Using Nav as Header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #938266
    Ian

    I don’t see the option to use Nav as header as shown in your docs, https://docs.generatepress.com/article/navigation-as-a-header/

    Has that changed.

    Also I’ve disabled the header on the https://macka.com.au/posts page and it still appears.

    #938288
    Leo
    Staff
    Customer Support

    Hi there,

    Try removing the navigation logo first.

    Then the option should appear.

    Let me know if this helps 🙂

    #938301
    Ian

    Ok, that’s fixed the nav as header, thanks.

    I was hoping to have the Logo then site title on the right of the logo and then the site-tagline on the right of the site title so (Logo Site-Title – Site-Slogan)

    How would I get this happening?

    #938689
    Tom
    Lead Developer
    Lead Developer

    It’s not possible by default, as there’s typically not enough room for the tagline as well.

    However, you can try this:

    add_filter( 'generate_site_title_output', function( $output ) {
        return $output . '<span class="tagline">Your tagline here</span>';
    } );

    Then you can add this CSS:

    .tagline {
        color: white;
        border-left: 1px solid rgba(255,255,255,0.1);
        padding-left: 10px;
    }
    #939139
    Ian

    Thanks Tom, would it be possible to add the logo to the left of the site-name? Or is there not enough room?

    #939300
    David
    Staff
    Customer Support

    Hi there,

    have you a logo selected in the Customizer > Site Identity ? As this should automatically display with the site title.

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