• Hello out there! Thank you in advance for your time. I’m trying to get rid of the space between the header and the nav bar here:

    https://www.airxpanders.com/

    I’m using a child theme, firebug, etc. But I can’t figure out where this element is originating.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The space originates from the div with class=”only-search with-image”, which has an inherited line-height of 1.625. If you are not intending on using the search form then set this div to display:none instead of #searchform.

    Thread Starter casarosada

    (@casarosada)

    Thanks so much for the reply. That makes sense, the search form! I’ve played a bit with what I think might be the right code, but I am a little green. Just to clarify, what exactly should I be adding to my child theme’s CSS? This is what I think…
    `.only-search .with-image {
    display: none;
    }`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove space between header and nav bar’ is closed to new replies.