Add a Border Around Text in a Card Image Block

Have you ever saw a really cool header on a website and thought, how did they do that? Well my friend, this is one of my favourite pass times.

The other day, I came across a couple sites that had an image next to some text with a border. I knew I just had to share how to get this effect on your own website.

Add a Border Around Text.png

In this video, I show you how to add a border around text in a card image block. All the code used in the video is provided below.

 
 

The following code is used in the video.

#PAGENAME  .sqs-block-image .design-layout-card .image-card-wrapper {
  border: solid 3px #006400 !important;
}
 
 
Rebecca Grace

Rebecca Grace is a Squarespace CSS Expert and Website Designer.

https://rebeccagracedesigns.com
Previous
Previous

Center a Button in an Image Block on Squarespace

Next
Next

How to Animate Text on Your Squarespace Website