Create search form in menu as in Twenty Fourteen theme
.animate() is the jQuery function you’re going to want to have a look at. Very handy. Here’s a working example for your particular question: http://jsfiddle.net/B8Yv9/ And a complete html workup: <!doctype html> <html> <head> <meta charset=”utf-8″> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js”></script> <style> .search { width:300px; } .input-group { position:relative; float:right; } #btn-search { cursor:pointer; position:absolute; padding:3px 8px; … Read more