Jump to content

Change the size of text in image blocks on mobile

Recommended Posts

I'm trying to add some custom code to alter the text of my site on mobile as there's no functionality to do this in the style editor, other than dynamic scaling which is unpredictable and inconsistent across blocks.

I added the following to adjust my headings, which was straight forward but I'm struggling to target text within image blocks


@media only screen and (max-width: 640px) { h2 {font-size:2em;} }

Thanks

Link to comment
  • Replies 3
  • 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.