Jump to content

Clickthrough link on shapes

Recommended Posts

  • Replies 2
  • Views 862
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

What is password?

image.png.b628b09c66a500d3259a4cab9b7109e6.png

(1) You can also follow this guide

First, use this code to Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $('.fe-block a:contains("clickable")').addClass('text-click');
});
</script>

(2) Use this code to Custom CSS box

a.text-click {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent !important;
}

(3) Add Text Block over Shape Block

Shape Block Clickable1 Min

Add a text: clickable and add link on it. Replace Google with your desired url.

The code I sent above will hide this text and make Shape clickable

Shape Block Clickable2 Min

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.