cane_cc72 Posted February 18, 2016 Share Posted February 18, 2016 I have a css file I am trying to hide from mobile and I cannot seem to get the code right any help would be appreciated. Link to comment Share on other sites More sharing options...
opentype Posted February 18, 2016 Share Posted February 18, 2016 Just wrap everything in a media query. Example: @media (max-width: 1000px) { } Anything in there will then not be used for screens smaller than the given size. Link to comment Share on other sites More sharing options...
cane_cc72 Posted February 18, 2016 Author Share Posted February 18, 2016 37 minutes ago, opentype said: Just wrap everything in a media query. Example: @media (max-width: 1000px) { } Anything in there will then not be used for screens smaller than the given size. I tried that and it's not hiding it on mobile and it breaks the code on desktop view Link to comment Share on other sites More sharing options...
Adlago Posted February 18, 2016 Share Posted February 18, 2016 @media all and (min-width: 1000px) { } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.