Jump to content

Changing font size for mobile

Recommended Posts

Site URL: https://www.ambiancecurator.com/

Hello, I am trying to use the code below to optimize my font size on the mobile display. For some reason it is not picking it up. Could this be because I already have a custom CSS code for a custom font? How can I code this so that the mobile layout responds to the code?

 

@media screen and (max-width: 641px) {
body {font-size: 11pt}
h1 {font-size: 13pt}
h2 {font-size: 13pt}
h3 {font-size: 16pt}
}

 

 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi. Add above code to Design > Custom CSS

@media screen and (max-width: 641px) {
body {font-size: 11pt;}
h1 {font-size: 13pt;}
h2 {font-size: 13pt;}
h3 {font-size: 16pt;}
}

 

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
  • 1 month later...
14 hours ago, canosoup said:

I have the same issue, font size is to big on my mobile menu and the css isn't working. www.rabbiasukkariehart.com

Hi. Which element?

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.