Well the original code you had (in post #1) does indeed work. Remove that rule and hten shrink the window down and you’ll see two search bars. I’m not entirely sure what you are after now that you have confirmed that it’s working.
I should note that your CSS above in post #3 is invalid. Look at the rule
form#searchform 2.
What’s wrong with that? The space between searchform and 2. That’s not doing anything.
Yes you give it display:none there, but later on in the stylesheet (around 300 lines later) you call this.
@media only screen and (max-width: 767px)
#search-form2 {
display: block;
}
That overrides the display:none; you just set. So if you don’t want it to display then set this display:block to none. Not entirely sure why you have two search bars to begin with though.
I already explained in my previous post that you are wrong. Please re-read my previous post. It is being overridden. Your display:none; is being overridden by the code in post #6.