Jump to content

Changing Font Size on Mobile Only

Recommended Posts

Posted

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

On my website homepage, it says "Our online FLUENCY ACCELERATOR™ course teaches you a method for becoming fluent in any language" - which is currently in Paragraph 1 font (1.2rem). However, I want the font in that specific text block to be slightly smaller (1rem) on mobile, while staying the same size (1.2rem) on desktop. Is there any way to do that?

Here is my website: www.diallekt.com

Thank you so much.

Posted
1 hour ago, AaronC said:

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

 

On my website homepage, it says "Our online FLUENCY ACCELERATOR™ course teaches you a method for becoming fluent in any language" - which is currently in Paragraph 1 font (1.2rem). However, I want the font in that specific text block to be slightly smaller (1rem) on mobile, while staying the same size (1.2rem) on desktop. Is there any way to do that?

Here is my website: www.diallekt.com

Thank you so much.

The following Css code could achieve this

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1652321734868_4479 strong{
    font-size: 1rem;
  }
}

Let me know how it goes

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.