• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Show or  hide a  template or content based on browser viewport width

Show or hide a template or content based on browser viewport width

A guide on how to show or hide a template or even content to a mobile device or small browser widths
Compatible XF 1.x versions
1.0, 1.1, 1.2, 1.3, 1.4, 1.5
Didn't see this listed as a guide already, so wanted to share a guide on how to show or hide a template or even content to a mobile device.

First to display a template for mobile only, open the template you want to include the content in and place this code where you want to display the template you want to call to.

Code:
<div...
You do not have permission to view the full content of this resource. Log in or register now.
Likes: Apocalypse
Author
ForumHeroes
First release
Last update
Rating
0.00 star(s) 0 ratings