Jump to content
emanger

How to disable search bar expansion?

Recommended Posts

emanger    0
emanger

For page lines, how do I disable the nav bar search bar from expanding and turning white?

 

In other words, I want it to turn white but I don't want it to expand out.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi,
 
We're not supposed to provide custom CSS but instead provide you with information and resources so that you can do this for yourself. However, with this customisation containing a pseudo class, it may have been quite tricky. Therefore, I have provided you with the code below, simply add it to your custom CSS:
#site .searchform .searchfield:focus {
width: 125px;
}

 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×