Jump to content

How do I make the font of a text box smaller on moible versions.

Recommended Posts

Site URL: https://www.granitopr.com/quartz

I want to format the text box at the top to be smaller on mobile because it looks disorganized right now. I downloaded the chrome extension Squarebox ID Finder which provided this  ID #block-yui_3_17_2_1_1615986351651_88773

this is the code I am using: 

 @media screen and (max-width:1024px) {
   #block-yui_3_17_2_1_1615986351651_88773{
     font-size: 2px!important}
}

there must be an error because the font size doesn't adjust at all when I change the px value. I started with the font size at 15 and kept lowering it but never noticed any changes.

Link to comment
  • Replies 1
  • Views 335
  • Created
  • Last Reply
On 3/18/2021 at 1:53 AM, Rocksbyninham said:

Site URL: https://www.granitopr.com/quartz

I want to format the text box at the top to be smaller on mobile because it looks disorganized right now. I downloaded the chrome extension Squarebox ID Finder which provided this  ID #block-yui_3_17_2_1_1615986351651_88773

this is the code I am using: 

 @media screen and (max-width:1024px) {
   #block-yui_3_17_2_1_1615986351651_88773{
     font-size: 2px!important}
}

there must be an error because the font size doesn't adjust at all when I change the px value. I started with the font size at 15 and kept lowering it but never noticed any changes.

try to override the font size of the elements by

 @media screen and (max-width:1024px) {
   #block-yui_3_17_2_1_1615986351651_88773 .sqs-block-content * {
     font-size: 2px!important}
}image.png.eca002ede5b7b57c0e55b0b52a3d207f.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.