Website Building » Squarespace » How Do I Add a Lightbox to Text in Squarespace?

How Do I Add a Lightbox to Text in Squarespace?

Last updated on December 12, 2022 @ 6:11 am

Adding a lightbox to text in Squarespace is easy! Just add the following code to your CSS file:

.sqs-block-html p {
background: url(https://www.Squarespace.com/content/v7.0/assets/images/blocks/code-block.gif);
}

You can also style the text using the < b > and < u > tags where applicable.

Conclusion, adding a lightbox to text in Squarespace is easy and can be done by adding code to your CSS file. You can also style the text using the < b > and < u > tags where applicable.

PRO TIP: If you are not familiar with HTML and CSS, we do not recommend adding a lightbox to text in Squarespace. Lightboxes can be tricky to implement, and if not done correctly, can break your site.
Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.