Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1489236

    Hey 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,
    Ismael

    #1489241

    Hi 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

    #1489267

    Hi,

    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,
    Ismael

    #1489483

    Hi 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

    #1489505

    Hi 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.