Jump to content

Changing font size in Collage Image Block

Recommended Posts

Site URL: https://lobster-ray-g42d.squarespace.com/k-farmer-foundation

Hello

One small issue I cannot seem to fix is in the MOBILE version of my site I would like to reduce the size of the type in the Image block with a collage. I managed to adjust it for the normal desktop version as well as for tablet, but I cannot seem to get this code to work for mobile!

Any hints?

Thank you!

PW: youcanenter

 

this is the code I have been using, to no avail!

 

@media screen and (max-width: 767px) {
  #block-c52eda86fd78a01e48e6 .image-title-wrapper * {
  font-size: 15px !important;
  }
}

Screen Shot 2021-07-28 at 1.03.20 PM.png

Screen Shot 2021-07-28 at 1.03.30 PM.png

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
On 8/23/2021 at 7:08 PM, tika said:

Is there a way to have this code only apply on the MOBILE INTERFACE?

I want my page to a have bigger title font on the desktop version, but smaller on the mobile version. 

my page is http://www.studentlivstockholm.se 

Use this code to force code run on mobile only

@media screen and (max-width:767px) {
#block-c52eda86fd78a01e48e6 .image-title-wrapper * {
	font-size: 23px !important;
}
}

replace with your image block id

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

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.