EW
0
Hide and Show - Media Queries in Android 5.0 and Android 6.0 not working
Good Day,
I'm trying to create a simple test for hide and show in desktop and mobile.
I have create several test but it seems its not working on Android 5.0 and Android 6.0
I tried below but it does not work. Is this a bug?
> <style type="text/css">
> .show_desktop {
> display: block;
> }
> .show_mobile {
> display: none;
> }
>
> *[class="show_desktop"] {
> display: block;
> visibility: visible;
> }
>
> *[class="show_mobile"] {
> display: none;
> visibility: hidden;
> }
>
>
> @media screen and (max-width: 600px) {
> .show_desktop {
> display: none !important;
> }
> .show_mobile {
> display: block!important;
> }
>
> *[class="show_desktop"] {
> display: none !important;
> visibility: hidden !important;
> }
>
> *[class="show_mobile"] {
> display: block !important;
> visibility: visible !important;
> }
>
> }
>
>
> </style>
Thanks
The default email client in Android 5.0 and 6.0 is Gmail now. The vanilla email client on Android doesn't really exist past Android 4.4. Have you tried testing to see if this works in the Gmail app?
Will the Android 5.1 and 6.0 options be removed from Litmus then? This is causing some confusion with our QA process. The question of "if we shouldn't test for it, why is it an option?" comes up a lot.
Hi Nicholas, while Litmus offers a huge array of email clients to test on we always advocate that you test on the email clients that are most important to your email subscribers. You can easily select which email clients to show previews for in your account settings.