mkbkr Posted February 9 Posted February 9 Hi: Trying to get the h1 that says "Liberating Midlife" on this page to be smaller on mobile: https://www.marybethmoser.com/liberatingmidlife The following code doesn't seem to have any effect: @media screen only and (max-width: 640px) { #block-yui_3_17_2_1_1705789592653_13019 { h1 { font-size: 20px !important; } } } Thoughts? Thx!
Ziggy Posted February 9 Posted February 9 It looks like you are using this code globally, why not put the min value as 20px instead of 80px here? #block-yui_3_17_2_1_1705789592653_13019 h1 { font-size: clamp(20px,15vw,200px); } 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment