focuscreative Posted January 31 Share Posted January 31 My font scales down in size when I reach a certain browser pixel size (roughly over 2000px wide). How do I stop this!? You can see in the attachments where the correct screenshot has the heading text set to 8.1rem and paragraph set to 1.2 rem but then all of a sudden in the incorrect screenshot it scales down? Help! Is there some custom code I can add to make sure my font never scales down? Link to comment
Beyondspace Posted February 1 Share Posted February 1 16 hours ago, focuscreative said: My font scales down in size when I reach a certain browser pixel size (roughly over 2000px wide). How do I stop this!? You can see in the attachments where the correct screenshot has the heading text set to 8.1rem and paragraph set to 1.2 rem but then all of a sudden in the incorrect screenshot it scales down? Help! Is there some custom code I can add to make sure my font never scales down? Can you share your URL site so I can take a look? 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 pluginIf 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
focuscreative Posted February 1 Author Share Posted February 1 Yes it is futurefocus.co - any help greatly appreciated! 😄 Link to comment
focuscreative Posted February 4 Author Share Posted February 4 @Beyondspace any ideas? thank you so much! Link to comment
Beyondspace Posted February 6 Share Posted February 6 I check when we scale down browser, font is set down Have you figured it out yet? 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 pluginIf 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
Beyondspace Posted February 6 Share Posted February 6 Here is the calculation of font-size I check on your site Does it match the style you set before? 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 pluginIf 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
focuscreative Posted February 6 Author Share Posted February 6 No I haven't figured it out yet. It is a sqaurespace setting which I can not change. Link to comment
focuscreative Posted February 6 Author Share Posted February 6 I need code to override it, so the font doesn't scale down. Link to comment
creedon Posted February 7 Share Posted February 7 Quote My font scales down in size when I reach a certain browser pixel size (roughly over 2000px wide). How do I stop this!? I want to make sure I understand what you are experiencing. If you make your browser window wider than about 2000px the font size shrinks? I tried the above with your site and did not notice any issues. As I increased/decreased the width of browser window the font size went up and down relative to the browser window width. Now when I increased the width to over 3179px, then the font did shrink. At 3180px the following ruleset takes over control of the font-size. @media screen and (min-width: 3180px) { h2 { font-size:calc(5.3 * 1rem) } } Which is a different calculation that is used at narrower viewport widths. @media screen and (min-width: 768px ),screen and (max-width:calc(3180px - 1px)) and (orientation:landscape) { h2 { font-size:calc((5.3 - 1) * 1.2vw + 1rem) } } This almost looks like a bug in SS CSS code. I can understand perhaps capping the max size of the font but I can't see a reason to drop the size like the code does. You could just move the calc from the second code to the upper code and put it in Custom CSS. As I say you may want to restrict the upper range of the font size. @media screen and ( min-width : 3180px ) { h2 { font-size : calc( ( 5.3 - 1 ) * 1.2vw + 1rem ); } } Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
focuscreative Posted February 13 Author Share Posted February 13 Hey! Thanks SO much for the reply. This is so weird, its like it has been fixed! I did flag it with SS the other week, I would be surprised they fixed something like that so quickly, but alas - it now seems to work, and you are right, just scales up and down as per the browser window now! V 🙂 Link to comment
creedon Posted February 13 Share Posted February 13 39 minutes ago, focuscreative said: its like it has been fixed! I'm still seeing what I observed initially on your site. But as long as things are good for you, you are set! A general note for those who might follow on, the fix I suggest is a workaround. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! 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