Image gallery Carousel problems
-
Hello!
I have recently started trying to use the Jetpack Carousel gallery plugin for my image gallery, having deleted the old javascript Lightbox I was using.Carousel works perfectly – but WordPress seemed to be inserting its own style code in the generated gallery and messing up my thumbnail alignment.
I searched these forums and found the following code to insert in my functions.php file:
add_filter( ‘gallery_style’, ‘my_gallery_style’, 99 );
function my_gallery_style() {
return “<div class=’gallery’>”;
}Which worked wonders in removing that auto-inserted gallery style!
HOWEVER, it also seems to obliterate the link to the Carousel popup – the images show up on a wordpress page instead of the ‘lightbox’ style provided by Jetpack.Can anyone help me to figure this out? It’s driving me batty!
The page in question is https://frenziedsilence.com/image-test/
I’m still messing with the CSS for the thumbnails…
- The topic ‘Image gallery Carousel problems’ is closed to new replies.