Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
Kirty

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

Share this post


Link to post

Can you share link to markdown on your site?


Send me a message if you have any questions (free 10 minutes).

4000+ free code: Adirondack - Avenue - Brine - Bedford - and more (all 7.0 template & 7.1)

Useful guide: How to share url (trial plan) - 2 languages site - 3 languages

Plugins: Product Enquiry Form - Product Color/Image Swatch VariantLightbox Anything

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...