Hi, I think this is a simple thing to do but I must be missing something, I want the H1 tags to reduce in size when the site is opened up on a mobile device. I’m using this css:
But it doesn’t have any effect as I think another bit of css is overriding it.
The site is built in Wordpress using a child theme and the css is placed in the child theme style sheet. the Site is: http://dev.londonhr.org/membership/
With the word Membership being the H1 tag, any help would be much appricated
Thanks Guys, I’ve tried that and still the same, I think Ryan is right and it’s in the wrong order but not sure how to change the stacking order, I always thought the theme style sheet would overwrite everything else, bit confused
Your media query needs to come later in the document than that rule. Its no good linking to a css file earlier as the latter wins out unless you change specificity.
You need to heed both Ryans and cootheads advice as you have both wrong
Thank you guys for sharing these tips as media query needs to come later in the document than that rule and because of that the problem persists.So few changes mention here will fix this issue with ease.