Jump to content

Font size in store?

Recommended Posts

Posted

@tuanphan I have a similar question that I am really hoping you can help with! I have a gallery at the top of my homepage that has image titles overlayed (text on the first image says "Empathetic Design" for reference). The image titles are a custom font (H2). Do you know a way to get the image titles to display at a larger scale on mobile. I'm currently using the following custom css for H2:

H2 {
    font-family: 'Mackay Extra-Bold' !important;
    font-weight: extra-bold !important;
    font-size: 7vw !important;
  } 

Website is: www.charliegreenestudio.com

Thank you!!

Posted
On 1/4/2024 at 12:39 AM, charliegreenestudio said:

@tuanphan I have a similar question that I am really hoping you can help with! I have a gallery at the top of my homepage that has image titles overlayed (text on the first image says "Empathetic Design" for reference). The image titles are a custom font (H2). Do you know a way to get the image titles to display at a larger scale on mobile. I'm currently using the following custom css for H2:

H2 {
    font-family: 'Mackay Extra-Bold' !important;
    font-weight: extra-bold !important;
    font-size: 7vw !important;
  } 

Website is: www.charliegreenestudio.com

Thank you!!

Use this CSS code for mobile

@media screen and (max-width:640px) {
h2.Index-gallery-item-content-heading {
    font-size: 50px !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.