default-view.php
to carousel-view.php
to make pages with galleries use carousel slideshow by default instead of starting with thumbnails.
After clicking “save options”, my post containing a gallery showed the slideshow code instead of the thumbnails. Only it does not get initialized.
Comparing the markup on my pages:
Before changing settings:
Initial page default view (thumbnails):<div class="ngg-galleryoverview default-view "
Carousel markup on /gallery/slideshow
after clicking on “show a slideshow”:<div class="ngg-galleryoverview ngg-slideshow slick-initialized slick-slider"
After changing settings:
Initial page carousel view:<div class="ngg-galleryoverview carousel-view "
So the slideshow does not get initialized and it’s not working interactively.
There is no error message in the browser dev tools console.
How to make sure that the slick console gets initialized?
]]>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 blocks.css file has a rule on the arrows not from the the slick that overrides any other css:
.slick-arrow:focus{background:transparent}
If you or any plugin uses graphics or colours this makes them disappear on :focus.
I have removed it on a patch if anyone is experiencing the same thing:
https://gist.github.com/dieppon/b93aec0eef311d5b3ac16cc9758f487e
Kind regards
]]>and this
Never minify the following CSS files
/wp-content/themes/onair2/components/slick/slick.css
/wp-content/themes/onair2/components/slick/slick-theme.css
I was contacted by the client i built this site for and they said the slider containing the testimonials from customers was missing on the “our cases” page but it was still working on the front page, I spent hours trying to find a solution and ended up with removing it all together, today (a day later) the element on the front page has stopped working, none off the pages where changed in between the issues started.
How can something simply stop working even when no changes has been applied?
Is it a fault in the way it has been set up or can someone guide me in the right direction to bring back this functionality.
We seem to have a active elementor pro license but it’s activated without a connected account so I can’t use it to contact support
]]>slick.min.js?ver=2.1.2:1 Uncaught TypeError: Cannot read property ‘slidesToShow’ of undefined
at Object.e.slideHandler (slick.min.js?ver=2.1.2:1)
at Object.e.changeSlide (slick.min.js?ver=2.1.2:1)
at HTMLButtonElement.i (jquery.min.js?ver=3.5.1:2)
at HTMLButtonElement.dispatch (jquery.min.js?ver=3.5.1:2)
at HTMLButtonElement.v.handle (jquery.min.js?ver=3.5.1:2)
EDIT: Deactivated every single plugin one by one, nothing changed. Changed theme, plugin started working. I’m using theme “Ark”, what should I do?
]]>Uncaught TypeError: e.indexOf is not a function
at S.fn.init.S.fn.load (jquery.min.js?ver=3.5.1:2)
at HTMLDivElement.<anonymous> (preloader.min.js?ver=2.1.16:1)
at Function.each (jquery.min.js?ver=3.5.1:2)
at S.fn.init.each (jquery.min.js?ver=3.5.1:2)
at preloader.min.js?ver=2.1.16:1
at preloader.min.js?ver=2.1.16:1
This causes the Carousel to remain hidden and the Preloader to remain visible. If I disable the Preloader in the Carousel there are no errors.
JQuery migrate is scheduled to be disabled in WordPress on 9 March 2021.
I didn’t have any problems in older versions plugin.
]]>Have seeking around the reason and it seems to be concerned in Jquery issue.
I want to fix this issue asap.
Regards,