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

XF 1.3 If statement for desktop and wide widths only?

Discussion in 'Styling and Customization Questions' started by zagorskey, Jul 18, 2014.

  1. zagorskey

    zagorskey Active Member

    I'm trying to apply some rules in CSS that would exclude touch devices. Which is the most appropriate way to do that?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is no conditional statement for devices.
    You can use media queries for browser (viewport) width.
  3. zagorskey

    zagorskey Active Member

    Just used .NoTouch in front, worked like a charm. Solved. :)

Share This Page