Jump to content


Photo

How to disable search bar expansion?


  • Please log in to reply
1 reply to this topic

#1 emanger

emanger

    Member

  • Members
  • PipPip
  • 23 posts
  • Country: Country Flag

Posted 19 January 2013 - 07:18 PM

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.



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17636 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 20 January 2013 - 11:38 AM

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;
}