Hi,
How can I reduce font sizes for tablet and smart phone views?
Thank you!
this 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
by 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.
Thank you @Guenni007 and Yigit!
Hi,
Glad you got it working, please let us know if you should need any more help on the topic.
Best regards,
Rikard
Hi guys I tried everything but nothing is working on my website.
I cannot change h1 and h2 height
Hi phoenixdivers-kohlanta,
Please do not post the same question in multiple threads. I replied to you in another thread.
Best regards,
Victoria
I will.
sorry for that.
Hi phoenixdivers-kohlanta,
No worries :) I will close this thread, though.
Best regards,
Victoria