Jump to content

Issue Changing Font Size in CSS 7.1

Recommended Posts

I am having an issue trying to change the font size using CSS. I have been using the font-size property, and it was working before but no longer is. This is the code I was using and the result. I made it red so you can see the issue. I input 5 rem, but the font would not change sizes. Instead, the line height simply increased. Does anyone know a solution to this? Thank you!

@media only screen and (max-width: 640px) {#block-3f62cb3dfaedbf89b18f h4{
  font-size:5rem !important;
  background-color: red;
  }}

image.png.7a7d4e24cfc023275f271a9d55478a86.png 

Edited by Maddy_P
typo
Link to comment
  • Replies 7
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Can you share your website and the page this is on?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Which page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

I'm having this issue on all pages. It doesn't seem to work if I try to change the font size on anything anymore. This page specifically is page called B corp. I was trying to edit the css specifically for mobile. But I'm finding that I running into the same issue with any new text block I create. 

Link to comment

If you're generally having problems with CSS rather than the specific problem you stated above, I would suggest clearing your browser cache.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 1 month later...

Hi all,

I am also having issues changing font size, specifically in 7.1.

For example, the default description label in a form is very small. Google Search frequently tells me there are small font issues. In SS7.0, I have successfully increased the font sizes in a form but the CSS isn't sticking in 7.1.

This is the script I am using for 7.1 (that isn't working) is:

.sqs-block-form .field-list  .option .description {
    font-size: 16px !important;
  opacity: 1 !important;
}

I added the opacity tweak so that the font is more accessible - the default opacity renders the fonttoo greyed out, and inaccessible.

This is the page I am trying improve:

https://www.cihs.org.au/join-cihs

Many thanks!

Link to comment

Try this adjustment:

.form-wrapper .react-form-contents .field-list p.description {
  font-size: 16px !important;
  opacity: 1 !important;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.