Jump to content

Solution for headers scaling smaller at larger screen sizes?

Go to solution Solved by nick_sh,

Recommended Posts

Hello,

I'm wondering if anyone has a solution for headers scaling smaller when the screen width goes larger / above 1920px? (Which is what my max width is currently set to). The body copy is doing a bit of the same thing, but I have been able to adjust that a bit so it's not as drastic. But the headers are getting too small.

Please let me know if there is a fix, something I'm missing, a CSS fix, etc. 
https://www.jason-hufford.com/product-design/alkisupplements

Thanks!

Link to comment
  • Replies 4
  • Views 900
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

Got it, if you feel headings are small, you can set font sizes manually (add to Custom CSS):

@media screen and (min-width: 1920px) 
  .html-block h1 {
      font-size: ~"calc(var(--heading-1-size-value) * 1rem)" !important; 
  }
}

You can play with 1 rem there. E.g.:

@media screen and (min-width: 1920px) 
  .html-block h1 {
      font-size: ~"calc(var(--heading-1-size-value) * 1.4rem)" !important; 
  }
}

Or just 

@media screen and (min-width: 1920px) 
  .html-block h1 {
      font-size: 90px !important; 
  }
}

 

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.