Jump to content

Code block icon with separate text to appear on hover?

Recommended Posts

Hiya! 

I'm trying to add a bit of text next to an icon I have added into a code block. 

 

I would like the user to click the icons to open up a list view or map view, but for the text to appear on hover only. 

 

So far I can add 'Map View' into the code together with the world icon, but can't manage to make the text to appear on hover only... 

The 'List View' button can be modified to appear on hover, but the user won't be clicking the icon... 

 

Anyone? 

https://violin-halibut-2csa.squarespace.com/projects

mmmarchitects

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

What code have you used so far?

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) 
 🖼️ Pinch-to-Zoom 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.