How To Create A Text Popup in Squarespace // Create a Custom Tooltip in Squarespace

Showing additional info in a popup is a great way to give visitors more information without cluttering your page. It’s also an effective way to make sure your user experience is as smooth as possible. But did you know that you can create custom text-only popup using CSS? That’s right—with just a few lines of code, you can add unique and personalized tooltips to your site.
– – –
⭐ Learn more Squarespace CSS basics in my free class:
– – –
Often called a tooltip, you can add this simple text popup to any version of Squarespace and any subscription level too!

This is only for text. We aren’t adding images or forms or anything else to this popup, just a simple line of text that shows up on a hover.

If you want to have a popup form, check out this tutorial:

If you want to have a lot of content in that popup like images and more, you’ll need an advanced plugin. I recommend using the one from Sqsp themes. Here is my affiliate link:

Step 1: Add the popup
The first step is to add the HTML code that will tell Squarespace what text it should show on the page and what the popup should be. You’ll want to insert this code into the section of your website where you’d like the text placed. The full code is on my blog at to copy it from my blog.

This code creates two new elements on your site. Text is displayed on your site and will trigger the popup when hovered over by the mouse.

Step 2: Add CSS Styling
Once you’ve added the HTML code for your popup text, it’s time to style it with CSS so that it looks great! To do this, head over to Design → Custom CSS and paste in the following code snippet:

.popup {
/*style of the popup*/
padding: 1rem;
background-color: #e5f5f6;
border: 1px solid #ccc;
box-shadow: 5px 5px 15px #ccc;
border-radius: 6px;
/*placement of the popup*/
display: inline-block;

.text:hover .popup { visibility:visible;

You’ll want to adjust this code so it looks great with your own website. You can change the background color of the popup, the padding, the opacity, and even change the location of the popup. You can also apply additional styling elements like a border or shadow.

Step 3: Publish Your Changes
Once you’ve added both the HTML and CSS for your custom tooltip, publish your changes and check out how it looks on your live site!

– – –
⭐ Learn more Squarespace CSS basics in my free class:
– – –
🤩 Download over 100+ pages of custom codes and pro tips for customizing Squarespace in one awesome PDF. Order the Squarespace CSS Cheat Sheet, available now at 👉
– – –
⭐ NEW: Download a list of my top 7 Squarespace tutorials:
– – –
🙋 Need some help? Visit ​​ to see my current support options.
– – –
– – –
The term “Squarespace” is a trademark of Squarespace, Inc. This video was not approved or endorsed by Squarespace, Inc. I just really love their platform ♥

You May Also Like