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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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.