Compatibility: Change “slick” CSS handle
-
Hello,
we have detected a conflict with a theme.
With our theme, the slick css file of your plugin will not be included because the theme has already registered the handle “slick”.
This causes display errors – e.g. the prev-next arrows are not visible in the carousel block.
If “Carousel Slider Block for Gutenberg” changes the existing handle from “slick” to e.g. “carousel-block-slick” it works again.
Please adjust the handle for /dist/assets/vendor/slick/slick.min.css in carousel-block/init.php, line 45.
In addition, it might also be advisable to nest the CSS rules integrated with the file under “.wp-block-cb-carousel” in order to reduce side effects.
I suggest the same to the theme author.
Thanks for the easy to use plugin.
- The topic ‘Compatibility: Change “slick” CSS handle’ is closed to new replies.