Content Slider styles not loading when using Load CSS on demand
-
The Content Slider styles doesn’t load when this option is activated:
[x] Load CSS and JS of blocks on demandI have noticed it is the only block that doesn’t have
assets/blocks/content-slider/style.css, so I added an emptystyle.cssand enqueued and that fixed the issue.wp_enqueue_style( self::$blockName, getwid_get_plugin_url( 'assets/blocks/content-slider/style.css' ), ['slick', 'slick-theme'], getwid()->settings()->getVersion() );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Content Slider styles not loading when using Load CSS on demand’ is closed to new replies.