(Squarespace) Click text in paragraph open Button Popup

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

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

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

#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

#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

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

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

#4. Install Popup Plugin

Plugin will give you some code to Code Injection > Header

and Footer

#5. Result

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

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

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

1 Like

@tuanphan,

:heart: :heart: :heart: