Tagged: responsive, text
Hello. Within a text block element I have text that I’ve set to 120px and H1
<h1 style="text-align: center; font-size: 120px;"><strong>PHOTOS</strong></h1>
The text is not being responsive. On a phone, part of the word is cut off. How can I make the text responsive and still have it large enough on a desktop?
Thanks.
Hi 1039 Online!
use this code inside of Quick CSS field:
@media only screen and (max-width: 767px) {
.avia_textblock.av_inherit_color h1 {
font-size: 72px !important;
}}
and adjust as needed.
Regards,
Andy
Worked great, Andy. Thank you.
Hi!
Glad we could help! we really appreciate if you rate our theme on themeforest :)
Please feel free to get in touch with us if you have any questions.
Thank you for using Enfold :)
Cheers!
Vinay