Jump to content

HTML or Markdown block inherit font sizing

Recommended Posts

I'm trying to create a simple code (or markdown) block where I modify the color of a single word or phrase. Think something like:

<div style="text-align:center;">
Look at this <span style="color:red;">colorful</span> text

If I try to apply <h> tags it overrides the colors, and if I try to size it manually it is not mobile responsive.

Is there a way to make my text inherit the responsive size properties of my already defined <h> sizes?

Edited by Kmcgrath
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.