[Support request] Sticky header menu with Elementor

Home Forums Support [Support request] Sticky header menu with Elementor

Home Forums Support Sticky header menu with Elementor

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #526055

    Hello Support,

    I’m using both GP-Premium end Elementor and I would like to have a sticky menu.
    In the Elementor documentation they say,
    “Simply save the menu as an Elementor template, and embed the shortcode in the header hook. Then, use the sticky feature to get the effect you want.”
    How to Set a Sticky Menu With Elementor

    What puzzles me is that here
    GP Hooks

    They mention a “generate_inside_navigation” hook I don’t see in the list of GP-Premium’s hooks in my installation.

    Now on one YT Tutorial they give that snippet to be added through “Code Snippets” plugin.

    add_action( ‘generate_inside_navigation’,’db_add_shortcode’ );
    function db_add_shortcode() {
    echo do_shortcode(‘[elementor-template id=”XXXX”]’);

    Would that be a solution to get my sticky header ?

    Many thanks in advance for your support.

    GeneratePress 2.0.2
    GP Premium 1.5.6
    Customer Support

    Hi there,

    Hmm I’m not sure if generate_inside_navigation if the right one to use. Did you try it yet?


    Hi, No I didn’t try it yet… I’m a newbie in WP. So I preferred to ask before trying anything.
    Any suggestion for a bette way ?
    Many thanks !

    Customer Support

    Never hurt to try 🙂

    I’m not quite sure what the content is supposed to look like so hard to provide a suggestion.

    But if it’s an entire header and navigation it would probably be the before header or before header content hook:

    Perhaps Elementor would have a better idea how to insert their content.

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