diff --git a/App/Setup/Assets.php b/App/Setup/Assets.php index 527eff82..2d0a8b53 100644 --- a/App/Setup/Assets.php +++ b/App/Setup/Assets.php @@ -128,12 +128,18 @@ public function _enqueue_block_assets() { ); if ( apply_filters( 'snow_monkey_blocks_enqueue_fallback_style', ! Blocks\is_pro() ) ) { - wp_enqueue_style( - 'snow-monkey-blocks-fallback', - SNOW_MONKEY_BLOCKS_DIR_URL . '/dist/css/fallback.css', - array(), - filemtime( SNOW_MONKEY_BLOCKS_DIR_PATH . '/dist/css/fallback.css' ) - ); + if ( ! wp_style_is( 'sass-basis-core' ) ) { + wp_dequeue_style( 'sass-basis-core' ); + } + + if ( ! wp_style_is( 'sass-basis' ) ) { + wp_enqueue_style( + 'sass-basis', + SNOW_MONKEY_BLOCKS_DIR_URL . '/dist/css/fallback.css', + array(), + filemtime( SNOW_MONKEY_BLOCKS_DIR_PATH . '/dist/css/fallback.css' ) + ); + } } if ( is_admin() ) {