1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 How to change search bar z-index?

Discussion in 'Styling and Customization Questions' started by wRolf, Jun 23, 2015.

  1. wRolf

    wRolf Member

    So if I add a border to "style properties > general > content" and view the webpage on google chrome, the border is over the search bar while it looks fine in firefox. How do I bring the search bar forward so the border doesn't overlap it?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you mean the #searchBar class, you can either edit the template directly or use EXTRA.css.


    Be aware that changing it may impact other elements.
  3. wRolf

    wRolf Member

    Hey Brogan, thanks for the help, but changing the z-index on that doesn't help.

    Here's a screenshot of what I mean when I say it overlaps:


    Trying to get it so the search bar is in front of that border.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Change it for #QuickSearch instead.

    Note the default is 7500.
  5. wRolf

    wRolf Member

    Unfortunately, that didn't do anything either.

    Edit: NVM, I just changed the pageContent style and lowered the margin and it no longer shows. Derp.

    Thanks for helping though Brogan.

Share This Page