Marc1995 Posted February 21, 2016 Share Posted February 21, 2016 Hi Guys, I am trying to show my .sf-menu li.sf-search just in case of min-width: 1200px; So basially, there should be shown no search under 1200px width. I tried to do @media (min-width 1200px) for the following part, but it just changed the design of the search for less than 1200px. .sf-menu li.sf-search input { display: inline; padding: 15px 13px; height: 35px; line-height: 30px; background: white; /* margin: 3px 10px 0 0; */ font-size: 13px; color: #fff; border-color: #1C1B19; border-radius: 12px; } Link to comment Share on other sites More sharing options...
Daresh Posted February 21, 2016 Share Posted February 21, 2016 Can't you just hide it below 1200px? @media (max-width: 1199px) { .sf-menu li.sf-search input { display: none; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now