Jump to content

Border around Multiple Paragraphs

Recommended Posts

I am trying to add a border around a recipe markdown. 

I have added

.recipeBorder {
     border: 2px solid #133547;
     padding: 10px;
     outline: #133547 solid 5px;
     outline-offset: 5px;
   }

to the custom CSS and then in the markdown itself added

<div class="recipeBorder">

my text

</div>

The problem is instead of having separate lines for my recipe it all becomes one paragraph ... is there a way to keep the formatting and install the border?

Screen area 1.png

Screen area 2.jpg

Link to comment
  • Replies 1
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.