Home Forums Air WordPress Theme how do I disable lightbox on posts?

This topic contains 8 replies, has 3 voices, and was last updated by  akashigallery 6 months, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13070

    cgibaldi
    Participant

    Hello again,

    I am looking to make my images within a gallery post not clickable. I prefer the display of the items listed down the left or right hand side.

    Is there a way to disable each image from opening to lightbox?

    Please let me know and thank you.

    #13073

    BWSM
    Keymaster

    Hi,

    Please paste the custom css(paste in Appearance / Theme Options / Custom Css):
    body.single-format-gallery div[data-lightbox="true"] {pointer-events: none;}

    Regards!
    Bwsm – uiueux.comTwitterFacebook

    #13075

    cgibaldi
    Participant

    Thank you!

    #14166

    akashigallery
    Participant
    This reply has been marked as private.
    #14171

    BWSM
    Keymaster

    Please use the custom css to disable “Download”:

    .pswp__share-tooltip a.pswp__share--download { 
        display: none;
    }
    #14177

    akashigallery
    Participant

    Thank you very much!!

    #14178

    akashigallery
    Participant
    This reply has been marked as private.
    #14180

    BWSM
    Keymaster

    Welcome!

    Please add the custom css to disable “Share”:

    .pswp__button.pswp__button--share{ 
        display: none;
    }
    #14187

    akashigallery
    Participant

    Thank you so much!!!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.