This article explains how to replace the native search bar in the Arrival Store theme by wpoperations.
Arrival Store is child theme of Arrival.
FiboSearch plugin features built-in integration with this theme. It means you can replace the default search bars by selecting a single checkbox.
Open the functions.php
file in your child theme and add the following code at the beginning of this file after the <?php
tag.
/** * AJAX Search for WooCommerce - integration * */ if(!function_exists ('arrival_store_product_search')){ function arrival_store_product_search(){ echo do_shortcode('[wcas-search-form]'); } } add_action('wp_head', function(){ ?> <style> .product-search { width: 100%; } </style> <?php });