Home New Guten Forums Basel support forum Added button in mobile header but does not work in sticky header

Added button in mobile header but does not work in sticky header

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

    skyler
    Participant

    I have added a button to the header using the function below:

    function basel_header_block_header_links() {
    ?>
    GET STARTED
    <?php
    }

    The button in working in the main header but for some reason when you scroll down and the sticky menu comes down, the button is not working.

    I have not been able to figure out why this could be. Is it possible that the sticky menu is blocking it?

    #441528

    Hello,

    Please remove the code and add a button by means of HTML block: https://xtemos.com/docs-topic/html-blocks/

    Then add this block into the widget area or text area in the Header. You can set the appropriate layout and Theme Settings > Header > Layout.

    If you have any questions please feel free to contact us.

    Best Regards

    #441848

    skyler
    Participant

    I was able to create the HTML block and echo the shortcode into the basel_header_block_header_links() function.

    #441883

    Hello,

    I have viewed the site and see the button leads to a page. That is how the button should work.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)