Jump to content

CSS - possible to have two different font sizes per line within the description in a Simple List?

Recommended Posts

Posted

Attached is Description text with a line break. I would like to know if it's possible to customize a different font size per line, or any kind of differentiator.

Screen Shot 2023-08-08 at 1.19.40 PM.png

Posted

You can consider using Markdown Block & with this syntax

<p>enter text 1</p>
<p style="font-size:20px;">enter text 2</p>

If you want to use paragraph 1, change p to 

<p class="sqsrte-large">enter text 1</p>

with paragraph 2, just use <p> is enought

with paragraph 3, use this

<p class="sqsrte-small">enter text 1</p>

if you want to use heading, just use # (h1), ## (h2), ### (h3)...

## enter heading 2

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

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

×
×
  • 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.