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

XF 1.4 Is it possible to remove the sidebar blocks from mobile view?

Discussion in 'Styling and Customization Questions' started by m3commish, Jul 11, 2015.

  1. m3commish

    m3commish Active Member

    Pretty much what the subject title says ... Is this possible? Thank you kindly :)

    M3L Community
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, you can use media queries.

    See the guide on responsive design - link in my signature.
     
  3. Dylan V

    Dylan V Well-Known Member

    Hi,

    Go to EXTRA.css and add this:
    Code:
    <xen:if is="@enableResponsive">
    
    @media (max-width: @maxResponsiveNarrowWidth)
    {
        .Responsive .sidebar
        {
             display: none;
        }
    }
    
    </xen:if>
     
    m3commish likes this.

Share This Page