• Resolved Hefdut

    (@hefdut)


    Bonjour,
    I’m using WP 5.1.1 and Virtue 3.3.4.

    For all my portfolio posts, i’m using :
    Portfolio type = image
    Project layout = above (The featured image is displayed in the post above the text)

    I would like to disable the possibility of left clicking on the image.

    Thanks in advance for your support.

    Regards

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,
    You can add css like this:

    article.type-portfolio a.lightboxhover {
        pointer-events: none;
    }

    It would mostly work. But if you want to truly remove the link you would have to use a child theme and change the output.

    Ben

    Thread Starter Hefdut

    (@hefdut)

    Bonsoir,

    it works …. merci beaucoup !

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable clicking on featured image’ is closed to new replies.