Jump to content

Modifying mobile font sizes isn't showing any effect

Recommended Posts

Site URL: https://kristelandnic.com/

Hey just reaching out to see if anyone can help with modifying the mobile font sizes on my site.

I am using the following CSS modification to the mobile font sizes below but the font-size tag isnt having any effect.

Adjusting line-height seems to work just fine.

Appreciate any help in advance!

@media screen and (max-width:767px) {
   h1 {
    font-size: 40px;
    line-height: 1.3384;
}
  h2 {
    font-size: 40px;
    line-height: 1.3384;
}
   h3 {
    font-size: 50px;
    line-height: 1.3384;
}
   h4 {
    font-size: 16px;
    line-height: 1.5;
}

Link to comment
  • Replies 2
  • Views 261
  • Created
  • Last Reply
On 5/1/2020 at 9:38 AM, narnado said:

Site URL: https://kristelandnic.com/

Hey just reaching out to see if anyone can help with modifying the mobile font sizes on my site.

I am using the following CSS modification to the mobile font sizes below but the font-size tag isnt having any effect.

Adjusting line-height seems to work just fine.

Appreciate any help in advance!

@media screen and (max-width:767px) {
   h1 {
    font-size: 40px;
    line-height: 1.3384;
}
  h2 {
    font-size: 40px;
    line-height: 1.3384;
}
   h3 {
    font-size: 50px;
    line-height: 1.3384;
}
   h4 {
    font-size: 16px;
    line-height: 1.5;
}

Resharing. Any suggestions are much appreciated!

Link to comment

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.