-
AuthorPosts
-
October 20, 2016 at 11:23 pm #702132
Hey guys, so the following style use to work for me.
Now the class .visible-phone does not.
It just has everything disappearing on the mobile device.The goal I am after is to have certain cells showing content on the mobile phone only/ Any thoughts are appreciated …
.hidden {
display: none;
visibility: hidden;
}.visible-phone {
display: none !important;
}.visible-tablet {
display: none !important;
}.hidden-desktop {
display: none !important;
}@media (max-width: 767px) {
.visible-phone {
display: inherit !important;
}
.hidden-phone {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important;
}
}@media (min-width: 768px) and (max-width: 979px) {
.visible-tablet {
display: inherit !important;
}
.hidden-tablet {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important ;
}
}October 21, 2016 at 1:45 pm #702370Hey Justin,
Under this code:
@media (max-width: 767px) {
you should replace this code:
.visible-phone { display: inherit !important; }
to this one:
.visible-phone { display: block !important; }
Hope this helps. :)
Best regards,
NikkoOctober 21, 2016 at 2:39 pm #702418This doesn’t seem to work for me Nikko
October 21, 2016 at 2:43 pm #702423Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitOctober 21, 2016 at 4:11 pm #702496Hey Yigit…
October 21, 2016 at 4:25 pm #702506Hi!
I adjusted your custom CSS a bit. Can you please try it now? If that still does not work, please point out the element which has the custom class that is not working
Cheers!
YigitOctober 21, 2016 at 4:48 pm #702530Hmm Yigit, my IPhone 6+ reflects no change.
October 21, 2016 at 4:55 pm #702535Yigit … take a look at the PROCESS page.
What renders on desktop should vary from IPhone.
See link below…October 24, 2016 at 4:32 pm #703353Hi,
This was the issue – http://i.imgur.com/Toa0rIK.png. You were trying to display the element on mobile using custom CSS while it was set to be hidden on mobile.
Please review your page and make sure that this is not the case for other elements.Best regards,
YigitOctober 24, 2016 at 4:37 pm #703355haha oh yea, that would make sense :/
Wow! Good catch. -
AuthorPosts
- The topic ‘Visible Mobile ONLY’ is closed to new replies.