Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Esquirebr

Disable lightbox on specific summary block

Question

Posted (edited)

Site URL: https://www.jupiter10.com

I have a Summary block (grid)  on a page and I want to disable the lightbox. 

 
I found on a forum the code below to disable the click on the thumbnail of summary blocks. 
.summary-thumbnail-container { pointer-events: none !important; }

 

However,  I have other summary blocks on the same page that should be clickable, so how can I disable the clicks on a specific block  
#block-yui_3_17_2_1_1584715631892_17063

Thanks a lot in advance 

Edited by Esquirebr

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

Hi @Esquirebr,

You would combine the two like this:

#block-yui_3_17_2_1_1584715631892_17063 .summary-thumbnail-container { pointer-events: none !important; }

This changes the summary thumbnail pointer class only for that particular block id.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...