Archived

This topic is now archived and is closed to further replies.

  • 0

How to disable search bar expansion?

Question

Posted · Report post

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

1 answer to this question

Posted · Report post

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

 

Share this post


Link to post
Share on other sites