-
AuthorPosts
-
June 2, 2016 at 2:48 am #641778
Hi,
How can I reduce font sizes for tablet and smart phone views?
Thank you!
June 2, 2016 at 9:39 am #641921this is part of Media Querries
for example :
@media only screen and (max-width: 480px) { body { font-size: 14px; } }this will work for screen only and underneath a width of 480px
you see on that link that you can set a lot of options – maybe you only want to set print font size :@media print { body { font-size: 14px; } }but if you like to overwrite some rules on enfold you have to think about the class: “.responsive” which is added if you are beneath the width you set for mobile behaviour on enfold options dialog.
etc. pp.btw. it is often recomended that you set those rules to !important
-
This reply was modified 9 years, 5 months ago by
Guenni007.
June 2, 2016 at 9:40 am #641922by the way you can set both min and max:
@media only screen and (min-width:769px) and (max-width: 1023px)and with f.e. aspect-ratio you can set specified rules for retina display or not etc..
very nice feature on CSS.June 2, 2016 at 11:31 pm #642306June 3, 2016 at 1:27 am #642334Thank you @Guenni007 and Yigit!
June 3, 2016 at 8:47 am #642456Hi,
Glad you got it working, please let us know if you should need any more help on the topic.
Best regards,
RikardMay 29, 2020 at 7:08 pm #1217837Hi guys I tried everything but nothing is working on my website.
I cannot change h1 and h2 heightMay 30, 2020 at 1:12 pm #1217984Hi phoenixdivers-kohlanta,
Please do not post the same question in multiple threads. I replied to you in another thread.
Best regards,
VictoriaMay 31, 2020 at 1:18 am #1218102I will.
sorry for that.June 4, 2020 at 7:30 pm #1219517Hi phoenixdivers-kohlanta,
No worries :) I will close this thread, though.
Best regards,
Victoria -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts
- The topic ‘Changing font sizes for mobile view’ is closed to new replies.
