Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
@media only screen
huutoan911
August 2020
in
Theme support
I Paste my custom CSS code in
Custom CSS but it doesn't work:
@media
only screen and (max-width: 767px) {
body {
font-size: 18px;
line-height: 28px;
!important;
}
My website is:
https://gpsviettel.com/
Comments
huutoan911
August 2020
Pls help me
Pablo
August 2020
Hello,
I think that it won't work that way, you have to catch every element (<p>, <h1>, <b>) etc.
We strongly suggest not to do that, please use the inline-css instead.
https://www.w3schools.com/html/html_css.asp
thanks
huutoan911
August 2020
Its still not work,
https://imgur.com/a/zzfZIgY
pls help me!
huutoan911
August 2020
The font size is too small on mobile
Pablo
August 2020
You can disable decreasing fonts option in the Theme Options > Responsive > General
https://prnt.sc/u2t1i4
If you still want to use the Custom CSS to do that, please get familiar with the !important parameter.
https://www.geeksforgeeks.org/how-to-apply-important-in-css/
thanks
Sign In
or
Register
to comment.
Comments