[Resolved] Full-width search bar with Relevanssi

Home Forums Support [Resolved] Full-width search bar with Relevanssi

Home Forums Support Full-width search bar with Relevanssi

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1467595
    Grant

    Hello,

    I am changing the search plugin on my website to Relevanssi. I would like it constantly to display a full-width search form below the menu. I can currently do this with the existing plugin (WP Google Search) by adding a shortcode to the Search Page Target URL but Relevanssi doesn’t seem to have that option. Please could you tell me how to do this.

    Thank you,

    Grant

    #1467716
    Leo
    Staff
    Customer Support

    Hi there,

    Can you add Relevanssi so I can see the issue?

    #1467886
    Grant

    Hello,

    Relevanssi is installed and activated but, on second thoughts, adding the full-width search bar is the real question.

    So, I should ask, how do I add the shortcode [searchform] to Generatepress so that a full-width search bar is constantly displayed beneath the menu?

    Thanks

    #1467892
    Leo
    Staff
    Customer Support

    You can add it using a hook element:
    https://docs.generatepress.com/article/hooks-element-overview/

    With the generate_after_header hook:
    https://docs.generatepress.com/article/hooks-visual-guide/

    The full-width or not question depending on the plugin CSS.

    #1468664
    Grant

    Great, thanks, Leo!

    #1469522
    Leo
    Staff
    Customer Support

    No problem 🙂

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