Hi
How do I customise the body text and leading on mobile devices?
I tried the code below but it didn’t work.
@media only screen and (max-width: 480px) {
body {
font-size: 14px;
}
}
Hey jackiejackiejackie,
You need to be more specific with what you are trying to target:
@media only screen and (max-width: 767px) {
p {
font-size: 14px;
}
}
Or if you are targeting everything:
@media only screen and (max-width: 767px) {
* {
font-size: 11px!important;
}
}
Best regards,
Jordan Shannon