[Resolved] Secondary_nav_settings

Home Forums Support [Resolved] Secondary_nav_settings

Home Forums Support Secondary_nav_settings

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #831078
    Keith Messinger

    In the secondary_nav_settings where can I set the text to align right? Using GeneratePress Child.

    #831110
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I assume you don’t want to use the Customizer option in Customize > Layout > Secondary Navigation?

    If not, you could try this:

    add_filter( 'option_generate_secondary_nav_settings', function( $options ) {
        $options['secondary_nav_alignment'] = 'right';
    
        return $options;
    } );
    #832091
    Keith Messinger

    Thanks Tom. For some reason I overlooked Customize > Layout > Secondary Navigation > Navigation Alignment. Like grandma used to say, “If’n it had been a snake, it would’ve bit me.”

    #832264
    Tom
    Lead Developer
    Lead Developer

    Haha, glad I could help 🙂

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