ALL POSTSHiding content on mobile
<p>Is there a way to hide content on when viewing a page on mobile? I figured out how to hide content on desktop, but mobile has proven to be a totally different can of worms.
</p>
(Edited by Thunderdog1138)
<p>There isn't, no.
</p>
(Edited by KockaAdmiralac)
<p>Actually, that's not quite right, you can set the template type of the content you want not to show to one of the template types that do not show on mobile (Navigation, for example).
</p>
(Edited by KockaAdmiralac)
Thanks
(Edited by Thunderdog1138)
<p>I have been told that setting the class of an element to class="hidden" hides it from the mobile skin, and it also actually worked when I tried it. @KockaAdmiralac, are you aware of this? And if so, is there a reason to avoid it? It seems more efficient and clean than using a fake template type.
</p>
(Edited by HumansCanWinElves)
<p>I'm aware of it. The reason not to use
class="hidden" is that it may break or get removed at any time. There is no official documentation of its behavior and no guarantees it will continue to work as it currently does.
</p>
(Edited by KockaAdmiralac)