Hello,
I have overly large text headings (H2 – 50px) on a home page for a client.
I have noticed that the text for one of the words does not align and is cut-off partially when viewed on a mobile phone device.
I have tried reducing the font which works but client wants it the size (50px) it is.
Any assistance is apreciated.
Cheers
John
Hey John,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
.av-special-heading {
word-wrap: break-word;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
Sorry for the delay, Holidays :).
I tried as suggested however that breaks up the words when it wraps and is not so great. I would like to mainatin the whole word but have it reduice when on the small 767px width screen.
Is this possible?
Thanks John
Hi John,
All right :)
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
#top #wrap_all .av-inherit-size .av-special-heading-tag {
font-size: 22px;
font-weight: bold;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Thank You Victoria. That seemed to do the trick.
Hi John,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria