Jump to content

Only display custom template block on desktop?


m0tS`

Recommended Posts

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...