styling default live search suggestions (how to style wp solr search results)

  • 4 years, 11 months ago #12006

    Hi again,

    My search template looks disturbed.

    Screenshots:
    https://prntscr.com/nkb8yn
    https://prntscr.com/nkb9vh

    Is there a way to re design the search appearance ?
    For some reasons I do not want to use yith advance search plugin

    wpsolr
    Keymaster
    4 years, 11 months ago #12007

    https://prntscr.com/nkb8yn :
    Use css to style your suggestions. Or suggest keywords instead of products (option in WPSOLR screen 2.1).

    https://prntscr.com/nkb9vh :
    In WPOLR screen 2.1, select “Use my own theme search template”. You’re currently using the deprecated WPSOLR search template.

    4 years, 11 months ago #12008

    1-
    Can you please suggest which file controls the instant search result ? because I need to edit the html along with css

    2-
    I am using “use my own theme search template” but still its showing that screen see screenshot
    https://prntscr.com/nkbq4z

    wpsolr
    Keymaster
    4 years, 11 months ago #12009

    Can you please suggest which file controls the instant search result ? because I need to edit the html along with css

    The template for suggestions is hard-coded. We have a plan to move it to Twig templates in next releases.
    But you can activate WPSOLR add-on for “Yith WooCommerce Ajax search” to replace WPSOLR template suggestions: https://www.wpsolr.com/guide/video-tutorials-wpsolr-extensions/video-wpsolr-yith-woocommerce-ajax-search-free-elasticsearch/

    I am using “use my own theme search template” but still its showing that screen see screenshot

    You need to select the archives you want WPSOLR take control of (First option in screen 2.1).

    • This reply was modified 4 years, 11 months ago by wpsolr.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.