Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello I had the same problem. I solved it by using javascript:

    1) I installed plugin “Insert Headers and Footers” (or other similar plugin that let you add javascript into footer of your sites)

    2) I added script to footer
    <script>
    jQuery( function( $ ) {
    $(‘.elementor-search-form’).submit(function (event) {
    if(document.querySelector(‘.some-class’) !== null) {
    $(‘.elementor-search-form’).prop(‘action’, ‘//www.somesite.com/langcode/’);
    }
    });
    } );
    </script>

    3) I added class to specific search form (in my case into header_en template) elementor console —> Edit search form —> Advanced —> CSS classes

    Hope this help someone…

Viewing 1 replies (of 1 total)