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

XF 1.5 Exclude from mobile style?

Discussion in 'XenForo Questions and Support' started by FriscoCharlie, Aug 22, 2015.

  1. FriscoCharlie

    FriscoCharlie Active Member

    Question: Is it possible to have something displayed in the header of the forum and have it excluded in the mobile style? Example, a wider logo, etc., for the forum but a smaller one for the mobile style.

    I am guessing no but worth the asking.

    Thanks.
     
  2. rafass

    rafass Well-Known Member

    PHP:
    .your_element {
        
    blablablabla;
    }
    <
    xen:if is="@enableResponsive">
    @
    media (max-width:@maxResponsiveNarrowWidth){
    .
    your_element{
        
    blablawhatever_you_want_to_change;}
    }
    </
    xen:if>
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    This guide explains how to, amongst other things, hide/change elements in a responsive style: Responsive Design
     
  4. FriscoCharlie

    FriscoCharlie Active Member

    Thank you for the responses. I will see how I make out.
     

Share This Page