Jump to content

How to change font size for individual text blocks

Recommended Posts

Hello!
I want to change the font sizes for some of the text blocks, but if, for example, the text block I want to change is using Paragraph 3 sizing, then all the other text blocks on the page using Paragraph 3 sizing will also change.
Is there a way to bypass this, so I can just change individual text blocks?
Thanks!
Edited by LewisMackenzie
Link to comment
20 hours ago, LewisMackenzie said:

Thank you!

One more question. How to change the text size on the mobile site exclusively and not on the desktop site too?

 

Then you will need to use Code Block, something like this

<h3 class="h3-one">This is heading 3</h3>
<style>
  @media screen and (max-width:767px) {
    .h3-one {
    	font-size: 17px;
    }
  }
</style>

 

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!)

Link to comment

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.