Jump to content

How to resize heading fonts on mobile only?

Recommended Posts

Posted

Hi,

Is there any code I can usen so that heading fonts resizes on mobile only? Now the heading splits on mobile devices.

www.caliaconsulting.fi

 

Thank you for helping

  • Replies 3
  • Views 332
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 2/16/2023 at 5:13 PM, SusanPV said:

Headin 1

 

Susan

 

It looks like you figured it out with this code?

@media only screen and (max-width: 640px) {
    h1 {
        font-size:1.8rem !important
    }

    h2 {
        font-size: 1.4rem !important
    }

    h3 {
        font-size: 1.5rem !important
    }

    p {
        font-size: 1rem !important
    }
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.