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

XF 1.5 Show content only when not responsive/mobile.

Discussion in 'Styling and Customization Questions' started by Nudaii, Aug 4, 2015.

  1. Nudaii

    Nudaii Well-Known Member

    howdy,

    what would the variable be for extra.css to only show x css when the site is view via computor (not mobile/tablet)?
     
  2. Mr Lucky

    Mr Lucky Well-Known Member

    I use this:
    Code:
    @media only screen and (max-device-width:610px)
    {.yourclass
    {display:none !important}
    }
    (Set your max-device-width to taste)

    Test in Firefox Tools >Web developer > Responsive Design View

    I use it on my site at cafesaxophone.com, see header extra logo
     
    Nudaii likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page