We're merging with GenerateBlocks! Learn more here.

[Support request] Disable clickable images

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Disable clickable images

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35293
    David
    Participant

    How do I disable the clickable images / thumbnails displaying on mobile? I’m okay with images being clickable to posts on desktop but want to disable that on mobile because when people scroll on their phones they accidently click the image and leave the page.

    #35310
    elvin
    Moderator

    Hi David,

    Try adding this CSS:

    @media (max-width:768px){
    .wp-show-posts-image a {
        pointer-events: none;
    }
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.