Hi,
I want to show different font weight on desktop and mobile devices.
For desktop I’m using 600 and for mobile and tablet I would like 500.
I added this CSS
@media (max-width: 1024px) {
h1, h2 {
font-weight:500;
}
}
But it has no effect. I’ve tested if 500 worked on desktop and it does.
Since most of the h1 will be hero titles, I’ve also used .page-hero h1, .page-hero h2,
I also tried to use important but it was ineffective.
What do you recommend me to do?
You can check here:
https://wordpress-89823-1605306.cloudwaysapps.com/fado-porto/
Thanks in advance,
Ricardo Pons