Forum Replies Created

Viewing 1 replies (of 1 total)
  • If It will help you I can share what I did…

    I have added this code

    $x = apply_filters(
    		'woocommerce_enqueue_styles',
    		array(
    			'woocommerce-layout'      => array(
    				'src'     => self::get_asset_url( 'assets/css/woocommerce-layout.css' ),
    				'deps'    => '',
    				'version' => $version,
    				'media'   => 'all',
    				'has_rtl' => true,
    			),
    			'woocommerce-smallscreen' => array(
    				'src'     => self::get_asset_url( 'assets/css/woocommerce-smallscreen.css' ),
    				'deps'    => 'woocommerce-layout',
    				'version' => $version,
    				'media'   => 'only screen and (max-width: ' . apply_filters( 'woocommerce_style_smallscreen_breakpoint', '768px' ) . ')',
    				'has_rtl' => true,
    			),
    			'woocommerce-general'     => array(
    				'src'     => self::get_asset_url( 'assets/css/woocommerce.css' ),
    				'deps'    => '',
    				'version' => $version,
    				'media'   => 'all',
    				'has_rtl' => true,
    			),
    			'woocommerce-blocktheme'  => wc_current_theme_is_fse_theme() ? array(
    				'src'     => self::get_asset_url( 'assets/css/woocommerce-blocktheme.css' ),
    				'deps'    => '',
    				'version' => $version,
    				'media'   => 'all',
    				'has_rtl' => true,
    			) : [],
    		)
    	);
    
    if (!is_array($x)) {
    	$x = [];
    }
    
    return array_filter($x);

    Before line 65 and it works.

    I hope it will help you.

Viewing 1 replies (of 1 total)