Jump to content

How can I make the whole text block clickable instead of the text itself?

Recommended Posts

Hi guys,

With all your guys help, I have established a website that is fully functionable and it is my first one!

Now I want to polish a bit and have better QoL for the visitors.

Under my work show case page, I have a text block on top of my image block which i set up a url for each showcase. Currently I can only click the url when my cursor is on the text itself. How I can make the whole text block clickable?

Page I mention :https://www.thehongkongfixer.com/work

Best,

Alex

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add this code to Website Tools (under Not Linked) > Custom CSS

.fe-65275e92573640628018fb6d .sqs-block-html .sqs-html-content h3 a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.fe-65275e92573640628018fb6d .sqs-block-html .sqs-html-content h3 a span {
    position: relative;
    top: 40%;
}
/*Wallpaper x pullman*/
div#block-d35a11fc3e59a0a82542 .sqs-html-content h3:nth-child(1) a span {
    top: 40%;
}
div#block-d35a11fc3e59a0a82542 .sqs-html-content h3:nth-child(2) a span {
    top: 50%;
}
div#block-d35a11fc3e59a0a82542  .sqs-html-content h3:nth-child(3) a span {
    top: 60%;
}

 

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.