Jump to content

cursor hover effect - show text when hovering image

Recommended Posts

Site URL: https://www.gracemillard.com/

I'm looking to create a cursor hover effect sort of like this website

the main page of my site has a few images with click through links. when the mouse hovers over an image i'd like it to show the alt text (since there is no description section in the site editor?). it would be similar to the hover effect for portfolios that show an image when hovering over a link, just inversed. 

is there a way to do this with just CSS? if it needs code injection what would that look like? 

Link to comment
  • Replies 3
  • Views 602
  • Created
  • Last Reply

Top Posters In This Topic

17 hours ago, grmllrd said:

Site URL: https://www.gracemillard.com/

I'm looking to create a cursor hover effect sort of like this website

the main page of my site has a few images with click through links. when the mouse hovers over an image i'd like it to show the alt text (since there is no description section in the site editor?). it would be similar to the hover effect for portfolios that show an image when hovering over a link, just inversed. 

is there a way to do this with just CSS? if it needs code injection what would that look like? 

We can only achieve this layout with Javascript and CSS. 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
3 minutes ago, grmllrd said:

how would I do this with JS + CSS if I upgrade to business account

May I PM to ask you few some questions about your requirement?

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.