Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Gallery images to open in lightbox
- This topic has 1 reply, 2 voices, and was last updated 3 years ago by
Andre Flores.
- AuthorPosts
- July 19, 2021 at 4:54 am #1158147
Andrew Coton
ParticipantGood 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
July 19, 2021 at 11:08 pm #1158532Andre Flores
ModeratorHello 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 - AuthorPosts
- You must be logged in to reply to this topic.