Title: Update causes delay loading magnifier icon
Last modified: November 1, 2024

---

# Update causes delay loading magnifier icon

 *  Resolved [bklogos](https://wordpress.org/support/users/bklogos/)
 * (@bklogos)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/)
 * Hello,
 * After the update, there is a delay (spinner ) loading the magnifier icon in the
   menu when moving between pages.
 * Brian

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [bklogos](https://wordpress.org/support/users/bklogos/)
 * (@bklogos)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/#post-18109367)
 * update… I located this in the theme. There is a change to the speed of this font
   awsome icon loading after the update.
 * add_filter( ‘dgwt/wcas/form/magnifier_ico’, function ( $html, $class )
 * { $html = ‘<i class=”fa fa-search ‘ . $class . ‘”></i>’;
 *  return $html;},
 *  10, 2 );
 *  Thread Starter [bklogos](https://wordpress.org/support/users/bklogos/)
 * (@bklogos)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/#post-18110121)
 * Update… I even tried to add the icon as an svg, and it still had the same delay
   loading.
 *     ```wp-block-code
       // Custom FiboSearch search iconadd_filter( 'dgwt/wcas/form/magnifier_ico', function ( $html, $class ) {	$svg = '';	ob_start();	?>		<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14" viewBox="0 0 512 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#888888" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>	<?php	$svg .= ob_get_clean();	return $svg;}, 10, 2 );
       ```
   
 *  Thread Starter [bklogos](https://wordpress.org/support/users/bklogos/)
 * (@bklogos)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/#post-18110198)
 * update… I add some css to hide the java preloader spinner, still loads the icon
   slower than before but not as annoying.
 *     ```wp-block-code
       .dgwt-wcas-icon-preloader{  display:none;}
       ```
   
 *  Plugin Author [Damian Góra](https://wordpress.org/support/users/damian-gora/)
 * (@damian-gora)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/#post-18115564)
 * Hi there,
 * In the last version v1.29.0 we added a spinner. The spinned is removed when DOM
   is ready. You can disable it using CSS you mentioned. The more precise CSS selector
   is:
 *     ```wp-block-code
       .dgwt-wcas-search-wrapp > .dgwt-wcas-loader-circular {    display: none;}
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Update causes delay loading magnifier icon’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-for-woocommerce/assets/icon-256x256.png?rev=
   2883754)
 * [FiboSearch - Ajax Search for WooCommerce](https://wordpress.org/plugins/ajax-search-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Damian Góra](https://wordpress.org/support/users/damian-gora/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/update-causes-delay-loading-magnifier-icon/#post-18115564)
 * Status: resolved