LauraImp Posted May 24, 2022 Share Posted May 24, 2022 I'm having a problem with my fonts scaling properly and I can't figure out what's going on. This is a SS 7.1 site. I have my base font size set to 14px (that was the default). I set my H1 size to 3.6rem in the Site Styles (equivalent is 50.4px when I view in the inspector) I set my p2 size to 1.35rem (equivalent is 18.9px when I view in the inspector). These sizes display correctly when my browser window is set above 1620px wide, but when I size the window smaller than that, the font sizes get much BIGGER, which seems counter-intuitive, and not at all how I want them to appear. I want them to be the same. I can see these parameters in the CSS, but I don't know how the formula works. Can anyone help me? I want the fonts to be the same scale for all laptop and desktop resolutions. @media screen and (min-width: 0px) and (max-width: calc(1619px)) and (orientation: landscape) h1 { font-size: calc((3.6 - 1) * 1.2vw + 1rem); } @media screen and (min-width: 1620px) h1 { font-size: calc(3.6 * 1rem); } The second value (for the 1620px width) is the one I want for all. I wish I didn't have to do this as custom CSS, I feel like this should work better as the default. Is there something I've missed in the Site Styles tools? Thank you! Link to comment
LauraImp Posted May 25, 2022 Author Share Posted May 25, 2022 UPDATE: After lots of trial & error, and not wanting to do this as a custom CSS fix, I adjusted my base font size to 18px instead of 14px in the Site Styles, and then adjusted all the font styles to a smaller rem size, and the built-in scaling was not as extreme. It's still there in the breakpoint between 1619 and 1620, but not as noticeable now -- the calculation formula for whatever reason is not great. Link to comment
Darya Posted May 25, 2022 Share Posted May 25, 2022 Hello! Following! I am having the same issue on my websites - I would like to find a solution for this as well. Adriana and tiffanylee 2 Link to comment
graciewo Posted August 13, 2022 Share Posted August 13, 2022 Hello! I wanted to follow this thread because I'm experiencing a similar issue. My Heading 1 font scales down when the window is scaled up. I checked my coding to see if there was anything causing this but I think it's a 7.1 issue. Hoping there can be a ccs solution to this! Thanks to anyone who can help. Adriana 1 Link to comment
tuanphan Posted August 14, 2022 Share Posted August 14, 2022 11 hours ago, graciewo said: Hello! I wanted to follow this thread because I'm experiencing a similar issue. My Heading 1 font scales down when the window is scaled up. I checked my coding to see if there was anything causing this but I think it's a 7.1 issue. Hoping there can be a ccs solution to this! Thanks to anyone who can help. We can fix temporarily by using code to adjust h1 size. Can you share link to page where you have problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
graciewo Posted August 17, 2022 Share Posted August 17, 2022 Hi @tuanphan Here is the link to the page where it's most noticeable! https://www.carmelart95years.com/inventory The font at the top of the page is text that has the issue. Thanks! Link to comment
tuanphan Posted August 21, 2022 Share Posted August 21, 2022 On 8/17/2022 at 11:39 PM, graciewo said: Hi @tuanphan Here is the link to the page where it's most noticeable! https://www.carmelart95years.com/inventory The font at the top of the page is text that has the issue. Thanks! Try adding this to Design > Custom CSS div#block-62dc87e8e5e974d80f3ade72 h2 { font-size: 3.5rem !important; } @media screen and (max-width:767px) { div#block-62dc87e8e5e974d80f3ade72 h2 { font-size: 2.5rem !important; } } aguandescain86 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
vincentlefre Posted September 20, 2022 Share Posted September 20, 2022 Same issue here. Fixed with custom CSS. But man it's crazy that this formula is wrong. What a nightmare to have to write custom code for every instance this occurs. It pains me to think of all the websites that behave incorrectly because of this. How can we report this as a bug to Squarespace? CesO and Adriana 2 Link to comment
paul2009 Posted September 21, 2022 Share Posted September 21, 2022 11 hours ago, vincentlefre said: How can we report this as a bug to Squarespace? You can report technical issues by contacting Squarespace Customer Care directly. vincentlefre, tuanphan, Webby and 1 other 4 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
focuscreative Posted February 1, 2023 Share Posted February 1, 2023 Following this as having the same issue. Has anyone worked out what the code is to stop this from happening? Adriana and tiffanylee 2 Link to comment
cunetto Posted June 20, 2023 Share Posted June 20, 2023 I am also having this issue with the current release. Link to comment
Webby Posted June 24, 2023 Share Posted June 24, 2023 Has this been reported? I have the same issues on all my 7.1 sites. jbellissimo and tiffanylee 2 Link to comment
big_hurr Posted October 24, 2023 Share Posted October 24, 2023 has this been addressed? its annoying as hell Adriana 1 Link to comment
jimzdano Posted March 14 Share Posted March 14 Same here. Crazy how every time I use Squarespace features to make things "easier" everything breaks. Out of all things to glitch out... A text block???? Really?? Link to comment
JodyPachniuk Posted March 28 Share Posted March 28 On 5/26/2022 at 1:24 AM, LauraImp said: UPDATE: After lots of trial & error, and not wanting to do this as a custom CSS fix, I adjusted my base font size to 18px instead of 14px in the Site Styles, and then adjusted all the font styles to a smaller rem size, and the built-in scaling was not as extreme. It's still there in the breakpoint between 1619 and 1620, but not as noticeable now -- the calculation formula for whatever reason is not great. This worked for me too. Changed my base fint from 17 - 18px and all seems better now. Also all my custom css for mobile and tablet font resizing now seems to be working too. Link to comment
Adriana Posted July 15 Share Posted July 15 2 years have passed since this thread started, and the same problem still exists! I think it's terrible... Has anyone found a solution? Link to comment
avohh Posted July 26 Share Posted July 26 On 5/25/2022 at 11:24 AM, LauraImp said: UPDATE: After lots of trial & error, and not wanting to do this as a custom CSS fix, I adjusted my base font size to 18px instead of 14px in the Site Styles, and then adjusted all the font styles to a smaller rem size, and the built-in scaling was not as extreme. It's still there in the breakpoint between 1619 and 1620, but not as noticeable now -- the calculation formula for whatever reason is not great. THANK YOU this worked for me. Was going crazy trying to figure out a workaround, this really shouldn't be an issue years later. Figured the 'text scaling' option would be the answer but it's pretty useless. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment