# (Squarespace) Click text in paragraph open Button Popup

**URL:** <https://community.elfsight.com/t/squarespace-click-text-in-paragraph-open-button-popup/104096>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [February 27, 2025, 11:04pm UTC](https://community.elfsight.com/t/squarespace-click-text-in-paragraph-open-button-popup/104096 "2025-02-27T23:04:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [February 27, 2025, 11:04pm UTC](https://community.elfsight.com/t/squarespace-click-text-in-paragraph-open-button-popup/104096/1 "2025-02-27T23:04:53Z")

</div>

To make Button Popup appear when users click text in a paragraph, you can follow these.

**#1.** First, create a Page in Not Linked.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/b/8bc2d9c44d50daa26c6d23b0ad1ff8fa5a3beb31.jpeg)

With Name/URL: **Content Lightbox – /content-lightbox**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/e/0/e0e25066530bef0cdf2c7cfd9a7dfe9bfa98fa86.png)

**#2**. Edit Content Lightbox page \> Add 3 Button Blocks \> Then find ID of 3 Button

In my example, we will have:

- Button 1: #block-yui\_3\_17\_2\_1\_1740272913615\_79669
- Button 2: #block-c79f90e467e0372127e6
- Button 3: #block-61053b72b5a0c77f44e1

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/d/1/d125724e9209369a2b43c7d2b9586ebade622f49.png)

**#3.** Edit Paragraph where you want to make Button Popup appear \> Edit 3 Texts \> Add URL \> Use this URL format.

Make sure “Open in New Tab” is disabled

Text 1: #wm-popup=/content-lightbox#block-yui\_3\_17\_2\_1\_1740272913615\_79669

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/9/e/9e4bd03af75114d7d78860f4a20f023ef3ceaa05.png)

Text 2: #wm-popup=/content-lightbox#block-c79f90e467e0372127e6

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/2/2/221294ee4a56a5a0b177b30453628c829084fc32.png)

Text 3: #wm-popup=/content-lightbox#block-61053b72b5a0c77f44e1

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/9/b/9b7e184fc2dcb8f862af606f4abdf0a17af75eb4.png)

**#4.** Install [Popup Plugin](https://www.will-myers.com/products/p/modal-popups-in-squarespace?peachs_apc=tuan-phan)

Plugin will give you some code to Code Injection \> Header

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/4/c4eb53a8e99f03f2e7cef681e5081f2803896772.png)

and Footer

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/8/080405e93617d5f67dc81756cbc03a567a22e60b.png)

**#5.** Result

When users click text 1 \>\> Button Popup 1 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/7/c/7c8a31005d2d5a15f0b2dd459bcba6b9572a3f9b.png)

When users click text 2 \>\> Button Popup 2 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/6/86c4cc50c443afbe5424cb1ab337871b70d59b43.png)

When users click text 3 \>\> Button Popup 3 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/c/6c1e23fd0342b07a57d25d672c0a3b304646541b.png)

---

<div class="post-metadata">

**Author:** ![romano97002](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/romano97002/32/95751_2.png) [@romano97002](https://community.elfsight.com/u/romano97002)\
**Post date:** [February 28, 2025, 4:27pm UTC](https://community.elfsight.com/t/squarespace-click-text-in-paragraph-open-button-popup/104096/2 "2025-02-28T16:27:06Z")

</div>

@tuanphan,

❤ ❤ ❤
