Home>Support>Search in Menu dissapears on resize

Search in Menu dissapears on resize

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

When the page gets resized below a certain width, the search-icon to the right vanishes. This happens before the target resize for the responsive mobile menu kicks in.
Any way to keep it until the width forces a mobile menu?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 5 days ago kjellvis

    btw: test site is on: http://test.vikarsentralen.no
    pass: let1in

  2. 11 years, 3 days ago Andrew Misplon
    Hi, I Work Here

    Hi Kjell

    Thanks for running Vantage.

    To adjust the breakpoint at which the menu search icon is hidden, insert the following under Appearance > Custom CSS and adjust the breakpoint as required:

    @media (max-width: 1080px)
    body.responsive header#masthead.masthead-logo-in-menu #search-icon-icon {
    display: none;
    }
  3. 11 years, 3 days ago kjellvis

    Thanks for the reply, but it has no effect. Still disappear at < 1080 width browser window even if the max-width: is lowered (or increased for that matter)

  4. 11 years, 3 days ago Andrew Misplon
    Hi, I Work Here

    You’ll need two like this:

    @media (max-width: 1080px){
    body.responsive header#masthead.masthead-logo-in-menu #search-icon-icon {
    display: block;
    }}
      @media (max-width: 680px){
    body.responsive header#masthead.masthead-logo-in-menu #search-icon-icon {
    display: none;
    }}

    Also list a measurement for the header padding in your Custom CSS, right now you have 10 and 10, to my knowledge padding can’t accept a unit less measurement.

  5. 11 years, 3 days ago kjellvis

    Yes! Thank you. Very good support here. Also learning alot from reading the support forum and other solutions you have posted.

  6. 11 years, 3 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the wait; I missed the need for a double media query there the first time.

    Really glad to hear the forum has been helping out!

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More