hi there,
could you guys tell me why the following media query is not working on the below page?
@media only screen and (max-width: 480px) {
.servicesheader1 {
font-size: 20px !important;
}}
@media only screen and (max-width: 480px) {
.services-header-2 {
font-size: 20px !important;
}}
Hey clairemartindigital!
Please try changing your code to following one
@media only screen and (max-width: 480px) {
.servicesheader1 * {
font-size: 20px !important;
}}
@media only screen and (max-width: 480px) {
.services-header-2 * {
font-size: 20px !important;
}}
Also, please try adding the code to style.css file of your child theme in Appearance > Editor
Cheers!
Yigit
Hi Yigit,
seems to have worked for the first header. But not for the second header. Any other ideas?
Thanks
Hi,
For the second header, you placed dot in front of custom CSS class. Please edit your element and remove the dot :)
Best regards,
Yigit
oops…thanks. you can close this. any news on the other tickets?