1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 If responsive this, if not, this

Discussion in 'Styling and Customization Questions' started by RoyalRumble, Sep 30, 2014.

  1. RoyalRumble

    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;

    <xen:if is="@enableResponsive">
    <xen:else />
    As you'll see here;


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



    Any help would be very much appreciated.

  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. RoyalRumble

    RoyalRumble Active Member

    Thanks @Brogan , appreciate the very quick response, instruction and referral link. I did come across that resource but couldn't quite get my head around it. I'll give it another read.

Share This Page