Home Forums WoodMart support forum BLOG COLUMNS ELEMENTOR Reply To: BLOG COLUMNS ELEMENTOR

#396154

Hello,

We provied code to add to the functions.php of the child theme: add_action( 'loop_start', 'woodmart_reset_loop', 10 );

Please replace the code with this one:

use XTS\Presets;
use XTS\Modules\Layouts\Main as Builder;

if ( ! function_exists('woodmart_update_hover_presets') ) {

   function woodmart_update_hover_presets() {
      if ( ( is_post_type_archive( 'product' ) || is_tax( 'product_cat' ) ) && Presets::get_active_presets() && ! Builder::get_instance()->has_custom_layout( 'shop_archive' ) ) {
         woodmart_set_loop_prop( 'product_hover', woodmart_get_opt('products_hover') );
      }
   }

   add_action( 'wp', 'woodmart_update_hover_presets', 1000 );
}

Let us know if the problem remains.

Best Regards