• Resolved eleveno

    (@eleveno)


    The following code I found on Github is not working for Move the header widget above the floating right navigation :

    if ( ! function_exists( ‘generate_header_items’ ) ) :
    /**
    * Remove the header widget from the header
    */
    function generate_header_items()
    {
    // Site title and tagline
    generate_construct_site_title();

    // Site logo
    generate_construct_logo();
    }
    endif;

    add_action(‘generate_before_header_content’, ‘generate_construct_header_widget’, 2);

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    That code removes the header widget completely.

    By default your header widget will display above your floating right navigation – no code needed.

    Thread Starter eleveno

    (@eleveno)

    Actually the header widget pushes the floating right navigation to the left. I found the same question in other topics but couldn’t resolve the issue myself.

    Theme Author Tom

    (@edge22)

    Can you link me to your site possibly?

    Thread Starter eleveno

    (@eleveno)

    I made a fresh installation of wordpress with generatepress and now everything is working. Thanks for the help.

    Theme Author Tom

    (@edge22)

    Great to hear ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Move the header widget above the floating right navigation’ is closed to new replies.