Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #707116

    Hi guys,

    I want to remove the lightbox link from all featured images in single posts. I’ve browsed the board and found this CSS solution:

    .big-preview.single-big { pointer-events: none; }

    The problem is though that it not only disables the featured image click in single view, but also in post listings. For my homepage, I use custom listings (http://datenschmutz.net)

    Is there a way to *only* remove the lightbox link in single post view but to keep the image linked in listings?

    cheers, Ritchie

    #707120

    Hi!

    Please change the code to following one

    .single-post .big-preview.single-big { pointer-events: none; }

    Regards,
    Yigit

    #707121

    Hi Yigit,

    works like a charme. Awe-freakin’-some, thank you.

    cheers,
    Ritchie

    #707123

    Hi!

    You are welcome Ritchie! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Featured image behavior’ is closed to new replies.