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

XF 1.4 hiding something just in mobile

AndreaMarucci

Well-known member
#1
I've this div
Schermata 2015-01-08 alle 18.15.03.png
in my forum and I'd like to hide it but just in mobile. I know that there's surely a mean to do that inputting some code in extra.css but I don't know what.

It's the code from an addon that show a live search and I don't want to show it in mobile.

Can someone help me?

Thanks!
 

Brogan

XenForo moderator
Staff member
#2
If you just want to hide it, use a media query based on the browser width and display:none.

The link in my signature explains how to use media queries.