Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
m0tS` Posted July 12, 2015 Posted July 12, 2015 I've just been creating a custom skin on my forum with a large header that works fine on desktop but it way too big and complicated for mobile use, therefore I was wondering if there is any way I can set this template bit only to display on desktops instead of mobiles?I did notice this code which seems to call template bits only for mobiles, but is there a way to do the opposite and only call bits for desktop?{{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavigation" if="theme.responsive" app="core" group="global" params=""}{{endif}}Best,Paul
Recommended Posts
Archived
This topic is now archived and is closed to further replies.