Featherlight + woocommerce gallery
-
I have little problem with featherlight and woocommerce gallery.
Thing is – slider is showing even if there’s only one image. That shouldn’t be the case. If it’s only one image, then there’s no point in having slide arrows.
So my idea is to always append class featherlight-first-slide to first image and featherlight-last-slide to last and IF there’s only one image, then add featherlight-last-slide class to it too.
I know it’s something that i can achieve by adding some js(which i will probably do) but isn’t suppose to be like that by default?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Featherlight + woocommerce gallery’ is closed to new replies.