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

Remove Hover & URL Links


Recommended Posts

Site URL: https://echidna-gardenia-fcb4.squarespace.com

I'm using the Pazari template and am looking to remove some of the hover links on select images on the main portfolio page. For example, when you hover over one of the project images, the name of the project appears and this is then clickable (takes you through to a detailed page on this project). I need this feature on some of the images, but for others I want to remove both the text and the clickable link so these appear as a flat image only. 

Does anyone know if this is possible and how you create custom code for this? Assuming this code will need to apply to each individual image which is uploaded and I'm not sure if you can separate them? Any help on this would be great! 

Examples below showing how the text appears when you hover over the image and site link is: https://echidna-gardenia-fcb4.squarespace.com

Thanks! 

Screen Shot 2020-09-03 at 11.25.55.png

Screen Shot 2020-09-03 at 11.25.43.png

Link to post
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Add to Home > Design > Custom CSS a.grid-item[href*="/philliplim"] { pointer-events: none; } a.grid-item[href*="/gallerytop"] { pointer-events: none; } Repeat for other items

Posted Images

Add to Home > Design > Custom CSS

a.grid-item[href*="/philliplim"] {
    pointer-events: none;
}
a.grid-item[href*="/gallerytop"] {
    pointer-events: none;
}

Repeat for other items

Link to post
  • 6 months later...
  • 2 weeks later...
On 3/31/2021 at 10:22 AM, adrianadelgiudice said:

Hi!

Thank you for this code, it's worked perfectly.

Do you know how you can keep the hover and title on the image however disable the link?

My client is trying to bulk up their projects page with imagery without creating pages for each.

My website is: https://lynx-copper-kklb.squarespace.com/portfolio
Password: whitepaper
 

Hi. Incorrect password. Can you check it again?

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...