XF 1.4 If responsive this, if not, this

RoyalRumble

Active member
Hi everyone,

I've spent several hours this afternoon, reading through the various resources in an attempt to achieve this but have failed miserably. I'm hoping one of you good people can step in and help.

Basically, on the footer of my forum I want to display one piece of creative if the browser is responsive, and another if desktop. From reading the forum, I understand the below should achieve this;

Code:
<center>
<xen:if is="@enableResponsive">
Mobile
<xen:else />
Desktop
</xen:if>
</center>

As you'll see here;

upload_2014-9-30_14-2-32.webp



However, no matter what screen res I'm on, using the example above, 'Mobile' remains.

upload_2014-9-30_14-4-16.webp

upload_2014-9-30_14-4-41.webp

Any help would be very much appreciated.

Thanks
 
Top Bottom