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;} }


Link to comment
  • Replies 3
  • Created
  • Last Reply


@media screen and (max-width:640px) {
.image-title-wrapper * {
   font-size: 10px !important;

5 minutes to check & found the code.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment


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.