
-
AuthorPosts
-
September 15, 2025 at 4:24 am #1489232
Hi,
Seems that Avia is having issue with WP carousel when using Lightbox.
On https://privatetours.jp/exclusive-experiences/ if looking at the bottom carousel, the white image-overlay-inside on mouse over is not centered.
And when clicking the image the caption doesn’t appear.Any help would be deeply appreciated.
Thank you.
Xavier
September 15, 2025 at 5:26 am #1489236Hey koomo,
Thank you for the inquiry.
Please add this css code to adjust the position of the overlay inside the carousel.
.swiper-slide span.image-overlay.overlay-type-image { left: 0 !important; top: 0 !important; }
Best regards,
IsmaelSeptember 15, 2025 at 7:28 am #1489241Hi Ismael,
You are a star. Thank you for the prompt solution. Works perfectly.But any idea about when clicking the image the caption of the image doesn’t appear?
Thank you
September 16, 2025 at 5:03 am #1489267Hi,
Thank you for the update.
Have you tried adding titles to the images in Media > Library? Looks like you’re using a third-party slider plugin to display the images. For additional info, please reach out to the plugin developers.
Best regards,
IsmaelSeptember 23, 2025 at 10:41 am #1489483Hi Ismael,
The Dev is not really responding.I found this https://kriesi.at/support/topic/nextgen-wordpress-issue/ and did
add_filter( ‘body_class’, function( $classes ) {
if(is_page(26302, 24957)) {
$classes = array_merge( $classes, array( ‘noLightbox’ ) );
}
return $classes;
});It works on 26302 page, but I can’t find how to make it work on 24957 or multiple pages.
Thank you for your support.
regards,
Xavier
September 23, 2025 at 9:30 pm #1489505Hi again
I made it work using
add_filter( ‘body_class’, function( $classes ) {
if ( is_page( array(26302, 23457, 26722, 18606, 20583, 22309, 25428, 23142, 20126, 20429, 24957, 20084, 18609, 21127, 22459, 23130, 21233, 20634, 22166) ) ) {
$classes = array_merge( $classes, array( ‘noLightbox’ ) );
}
return $classes;
});Is there a way for me not to add every time a page ?
Thank you
September 24, 2025 at 6:05 am #1489515 -
AuthorPosts
- You must be logged in to reply to this topic.