Jump to content

How can I disable individual image link function in the summary block?

Recommended Posts

Site URL: https://www.comms8.com/wechat-marketing

In the summary block, I want to disable some of the image link functions while keeping the rest working. I searched online and I know the following code will disable all the link function across the entire website:
.summary-title-link { pointer-events: none !important; }
.summary-thumbnail-container { pointer-events: none !important; } 
But I want to know is it possible to disable a certain image's link function.

111.jpg

Link to comment
  • Replies 1
  • Views 417
  • Created
  • Last Reply
On 5/24/2021 at 9:15 PM, Jeff123456 said:

Site URL: https://www.comms8.com/wechat-marketing

In the summary block, I want to disable some of the image link functions while keeping the rest working. I searched online and I know the following code will disable all the link function across the entire website:
.summary-title-link { pointer-events: none !important; }
.summary-thumbnail-container { pointer-events: none !important; } 
But I want to know is it possible to disable a certain image's link function.

Add to Design > Custom CSS

/* Disable summary click */
div#block-7f45c26e5531ca8f551f a {
    pointer-events: none;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.