Jump to content

Portfolio elements clickability disabling

Recommended Posts



Hi, looked into various threads on related topics but haven't found a solution.

Looking to change behaviour of 3 'Coming soon' project within my portfolio. 
1. Disable clicking as the pages are empty inside
2. Change hover behaviour to show 'Coming Soon' text.

These are the bottom 3 projects named: The penthouse, The lobby, and The rooftop.

Website link: https://quillfish-star-szda.squarespace.com/portfolio
Password: planetapesimage.thumb.png.82bdc6b013870a12a4ca61d0fc796d4e.png

Edited by Itamar
refine question
Link to comment
  • Itamar changed the title to Portfolio elements clickability disabling
  • Replies 1
  • Views 120
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

#1. Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('#gridThumbs a.grid-item').removeAttr('href');
});
</script>

#2. Add to Design > Custom CSS

/* Hover Portfolio - Show coming soon */
a.grid-item .grid-image-inner-wrapper:after {
    content: "Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    font-weight: bold;
    opacity: 0;
}
a.grid-item:hover .grid-image-inner-wrapper:after {
    opacity: 1;
}

image.png.c1bb450e7b116cdcc7d440fb4f1e7e47.png

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

Create an account or sign in to comment

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

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