• Resolved patbell101

    (@patbell101)


    I am trying to get my search box in the navigation bar. It is there but I can’t click on it but I can tab into it from the last tab so afaics it is behind the navigation bar. I have messed around with where I load it, inside or outside the site navigation div and also tried setting z-index (.main_navigation to -1 and search to 1).

    No luck so far so I think I am barking up the wrong tree(s). I could limit the width of the navigation bar but I like the way it works/looks other than not being able to click directly.

    https://normallivingwithibs.patbell.co.uk/recipes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Take out the negative z-index and put in position: relative;.

    Also, the searchform needs to be hidden in small screen view, otherwise it’d mess up the theme’s small menu version.

    Thread Starter patbell101

    (@patbell101)

    Thanks. It worked but then I tried it on a tablet and… thanks for the advice

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search box behind navigation’ is closed to new replies.