iPad portrait media query not working for TwentyEleven Child
-
Hi
I have a twentyeleven child theme. https://www.demaeyer-co.be/
I’ve made it responsive for iPhone and such, and the only media query that doesn’t seem to work is for iPad Portrait form. The issue is that the site title needs to be moved up, like for iPhone and such. I am testing the layouts using https://www.responsinator.comThis is the code I have:
/*iPad*Portrait*/ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { #branding #access li { font-size: 12px; margin-top: 0; /*width: 100%; text-align: center; line-height: 6px; display:inline-block;*/ } #site-title { margin-right: 0; padding: 0.5em 0 0; } #site-title a { color: #044c72; font-size: 16px; font-weight: bold; line-height: 12px; text-decoration: none; font-family: 'Verdana', sans-serif; text-shadow: 1px 1px 3px #ffffff; /*shadow around site title*/ /*filter: dropshadow(color=#ffffff, offx=2, offy=2);/*shadow around site title*/ } #site-description { color: #1087be; font-size: 12px; margin: 0 0 0 0; font-weight: bold; font-family: 'Verdana', sans-serif; text-shadow: 1px 1px 3px #ffffff; } }
Any help would be much appreciated! Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘iPad portrait media query not working for TwentyEleven Child’ is closed to new replies.