Jump to content

Hover link for entire text block (not just the text)

Recommended Posts

  • Replies 4
  • Views 270
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
20 minutes ago, creedon said:

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Thank you, find the info below:

 

Site link here

password: internet123

 

Let me know if you need anything else.

I appreciate your help.

Link to comment
Posted (edited)

Here is the basic issue. By default text block's text can be linked but not the entire block itself.

I suggest removing the links from from the text block. Add a button block with no Text and set the Design to Tertiary. Size the button to cover the entire text and image blocks and make it the most forward item.

Then you will need some CSS to modify the button. Be sure to replace the button block id with your own button id.

#siteWrapper.site-wrapper #block-yui_3_17_2_1_1719688409990_48618 .sqs-button-element--tertiary {

  border : unset;
  
  }

.tertiary-button-style-outline #block-yui_3_17_2_1_1719688409990_48618 .sqs-button-element--tertiary:hover {

  background-color : unset;
  
  }

I'm not sure how this will play with your current hover effect so you may need to make some adjustments to it.

To get the button id check out Heather Tovey's most excellent looking Squarespace ID Finder.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Thank you for your quick response.

Using a button to make the block clickable is fine and all, but is there a way to get text to appear only upon hovering? I would like the images to not have any text on top of the images as it's distracting to the photos. Having the text appear while hovering on a tinted background is the ideal result.

Much appreciated.

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.