Jump to content

How to make text appear on image when user clicks on the image

Go to solution Solved by Ziggy,

Recommended Posts

When the user clicks on the image, text overlay will slide in from the left side, keeping the same background but making it a bit darker. 

If the user clicks on the image again, the text will disappear and it will go back to the original same as before with the title. 

I would appreciate any help/suggestions. Thanks. 

Screenshot 2023-10-06 111600.png

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

There's probably a plugin that would do something similar that could be adapted, this one looks like you could adapt the functionality:

https://www.ghostplugins.com/products/noa-grid-gallery

Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.