mportch Posted January 29 Posted January 29 Hi, Is there a way of making ALL text on my site the same size in desktop and mobile view - regardless of being a heading or paragraph? https://www.mattportch.com
tuanphan Posted January 30 Posted January 30 Use this CSS code body * { font-size: 12px !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!)
mportch Posted January 30 Author Posted January 30 Thanks - but is there code that changes all the text - not just body - so body, headings, paras, everything - and across both mobile and deskop modes?
tuanphan Posted February 1 Posted February 1 That code should affect all elements (body * here means target everything on website) 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!)
mportch Posted February 1 Author Posted February 1 Oh, it only changed the some of the text. See attached in red...
tuanphan Posted February 4 Posted February 4 Some of your current code override new code for example this code You try remove all font size code you used, then check again 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