Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
cane_cc72 Posted February 18, 2016 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.
opentype Posted February 18, 2016 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.
cane_cc72 Posted February 18, 2016 Author 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.