Viewing 1 replies (of 1 total)
  • Thread Starter dsm1

    (@dsm1)

    Resolved; go to:
    \assets\js\full-screen-search.js

    Modify line 7:
    Original:
    $( 'form[role=search] input, form[role=search] button' ).on( 'focus, click', function( event ) {
    Change:
    $( 'form[id=yith-ajaxsearchform] input, form[id=yith-ajaxsearchform] button' ).on( 'focus, click', function( event ) {

    The HTML: <form> is the main tag, <form role="search"> for example.
    I changed it to the <form id="yith-ajaxsearchform"> to set the trigger. So you could make this a button by <a href="">Search</a>

    You’re welcome.

Viewing 1 replies (of 1 total)
  • The topic ‘Stop using WordPress' default search’ is closed to new replies.