Site logo

[Support request] Custom logo doesn’t work when scrolling with sticky navigation set.

Home Forums Support [Support request] Custom logo doesn’t work when scrolling with sticky navigation set.

Home Forums Support Custom logo doesn’t work when scrolling with sticky navigation set.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2464683
    Theresa

    Displaying a different logo on a few pages and it works fine until I scroll (sticky navigation is set). When I scroll, the sticky navigation logo (set in customizer) appears on the pages even though I have a different logo set for the page.The different logo is set up as a header element. I looked on the forum but none of the CSS worked.

    Any help would be appreciated.

    #2464700
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using a filter to switch out the logo on the Dark Fiber page?

    If so you will need another one for the sticky navigation logo:

    add_filter( 'option_generate_menu_plus_settings', function( $settings ) {
        if ( is_page( 44301 ) ) {
            $settings['sticky_navigation_logo'] = 'LOGO IMAGE URL HERE';
        } 
       
        return $settings;
    } );

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

    Let me know if this helps 🙂

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