Little help writing CSS for @media queries?!? Please?
-
I’m trying to stop the twitter icon on my header from appearing in mobile devices only (ipads and smaller sizes). I’m using the @media codes found here, on the themes and co site. The twitter icon and the whole menu in the only problem that I have with my site when viewed on mobile (as far as I know). I’m adding this code to all the different @media sizes
.social-block a{ display: none; }
to stop the twitter icon from appearing on my header, and it works, but this code also removes the twitter icon on my footer. Is there a way I can target the header social icon only, not the footer? I really would like to keep the twitter icon but for some reason when I’m viewing my site on mobile, I click on the twitter icon and it fly’s away! Literally! It’s moves to the right 10-15px, no joke. Little bugger is flying away from me! xD That’s why I wanna put him down, on mobile devices only.
Any help with this would be greatly appreciated!! ??
- The topic ‘Little help writing CSS for @media queries?!? Please?’ is closed to new replies.