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?

    Thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

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

    upload_2015-6-23_9-48-15.png

    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:

    [​IMG]

    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