Gallery images to open in lightbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1158147
    Andrew Coton
    Participant

    Good afternoon

    I have put together a site using your plugin: https://www.annabellerooms.co.uk/

    When I view an individual room, then click on the image being displayed, it reloads the page. Is there a way I could get those images to open in lighbox instead? If not, can I just make them not clickable?

    Kind Regards

    #1158532
    Andre Flores
    Moderator

    Hello Andrew,

    Usually the image of accommodation type can be opened in a lightbox, as there is an option under Accommodation ->Settings, however, as I can see you have inserted [mphb_rooms] sortcode to single accommodation type pages, so the option does not affect those images.
    Making images of [mphb_rooms] shortcode opened in a lightbox would require overriding default shortcode function. As for removing the link from images, you may do that by adding the following code under Appearance ->Customize ->Additional CSS:

    .mphb_sc_rooms-wrapper.mphb-room-types #mphb-flexslider-gallery-1 a {
    	pointer-events: none;
    }

    Regards,
    Andre

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