Slick slider not initialized when selecting carousel view template
-
In NGG gallery settings: basic thumbnails, I changed the “Select View” from
default-view.php
tocarousel-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?
- The topic ‘Slick slider not initialized when selecting carousel view template’ is closed to new replies.