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

How to disable clicking on portfolio hover item?


MTakai

Question

2 answers to this question

Recommended Posts

  • 0
15 minutes ago, MTakai said:

Site URL: https://takai.works

Hi there,

Was wondering how I could disable clicking on portfolio hover items? They're the four links you see in the center of my homepage. I have access to code injection, by the way.

Thanks!

Hi you can add below script into footer injection
<script>

var all_links = document.querySelectorAll(".portfolio-hover-items-list li a");

for(var i=0; i<all_links.length; i++){
    all_links[i].removeAttribute("href");
}

</script>

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...