• 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?

#1
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.
 

Brogan

XenForo moderator
Staff member
#2
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
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.
 
#5
Change it for #QuickSearch instead.

Note the default is 7500.
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.