[Support request] How do I add a search functionality to the primary navigation menu?

Home Forums Support [Support request] How do I add a search functionality to the primary navigation menu?

Home Forums Support How do I add a search functionality to the primary navigation menu?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1371706
    Richard

    How do I add a search button like this to my main menu?

    https://codyhouse.co/ds/components/app/full-screen-search

    #1372101
    David
    Staff
    Customer Support

    Hi there,

    you could use a Hook Element to add the Button inside the Navigation.

    https://docs.generatepress.com/article/hooks-element-overview/

    At this time you would need to create 2 hooks.
    1. inside_navigation for desktop.
    2. inside_mobile_header for mobile.

    It will require some CSS to position it. Happy to help with that.

    In the next GPP 1.11 update we have added a hook that displays on both nav and mobile header and removes the need for CSS positioning. We look to release GPP 1.11 for Alpha testing in the next 24 hrs.

    The HTML for the modal could also be hooked in after_footer for example.

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