Tagged: CSS, Desktop, hidden, iphone, mobile, responsive, show, special heading
Thanks for help first.
My website contains a lot of special headings & sub-heading text on homepage which is a full-width setup.
In the case some words are too long to fit in small screen (i.e. mobile in portrait orientation), the words is cut on its right.
May I know any solution to make the special heading & the following sub-heading responsive to small screen? e.g. shrinking the element to 100% fit the screen width without being cut.
P.S. I applied “center” style on these special headings.
Many thanks.
Hi asiabchk!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 480px) {
.av-special-heading-tag {
font-size: 24px !important;
}}
Regards,
Yigit
Sorry to bother. It does not work. I also tried “h1.av-special-heading-tag” as CSS selector but no luck.
Is there any possible solution that I create an extra heading of smaller font for visible in mobile screen only?
Hey!
It should be possible using custom CSS. If you would like us to look into it, please create a temporary admin login and post it here privately.
To hide elements on mobile, Please refer to my post here – https://kriesi.at/support/topic/how-to-hide-some-elements-in-mobile-version/#post-362263
Best regards,
Yigit
I take the approach of shown/hidden specific Avia elements on mobile/desktop, it solve my problem perfectly. Thanks so much for help, please close this post.