harlowbogie Posted August 28 Posted August 28 Hi, When I scroll down the page in mobile web (on my iPhone in Chrome), the font size changes on every page. Why is this happening? How can I prevent this from happening? Can I fix it without code? If no, what code should I use? I was given this code to add in, but it only worked for the homepage: @media screen and (max-width:767px) { div#block-73ce79433bfa71edec75 h1 { font-size: 40px !important; } div#block-c419671ba5feb1ec51dd h2 { font-size: 32px !important; } } Thanks in advance!
tuanphan Posted September 1 Posted September 1 Change to this code @media screen and (max-width:767px) { body h1 { font-size: 40px !important; } body h2 { font-size: 32px !important; } } 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!)
harlowbogie Posted September 2 Author Posted September 2 Thank you! I noticed other fonts were jumping too, like "paragraph 1" and "h3". So, I followed your code concept to h3: body h3 { font-size: 24px !important; } and that worked! But I don't know what to use for "paragraph 1". Can you provide code for those too? Thanks!
Solution tuanphan Posted September 7 Solution Posted September 7 On 9/2/2024 at 8:54 PM, harlowbogie said: Thank you! I noticed other fonts were jumping too, like "paragraph 1" and "h3". So, I followed your code concept to h3: body h3 { font-size: 24px !important; } and that worked! But I don't know what to use for "paragraph 1". Can you provide code for those too? Thanks! Paragraph 1 is p.sqsrte-large Paragraph 3 is p.sqsrte-small Paragraph 2 is p:not(.sqsrte-large):not(.sqsrte-small) 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment