Jump to content

Changing Font Size on Mobile Only

Recommended Posts

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.

Link to comment
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.