Tagged: search
I would like an big search box next to my logo. ( testsite at dev.leomusic.nl/leomusic )
So I added get_search_form(); just below echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true); in helper-main-menu.php.
I use this CSS to style it.
#top #searchform > div {
max-width: 50%;
position: relative;
}
#header form#searchform {
margin-left: 25%;
padding-top: 2%;
}
The problem if I use the Schrinking Header option, which is cool!, the seachr bar stays fixed while I would link to move up.
Is this posible
Hey Albert!
Please add following code to Quick CSS as well
#header.header-scrolled form#searchform {
padding-top: 3px;
}
Regards,
Yigit
Hey Yegit.
Thanks you’re the best! This works great.
Albert