Is there a way to add the 'search form widget' to the header. either in the collapsible sections or at the end of the nav links?
and while we're at it. is there a way to lose the title row section on specific pages?
Thanks.
M
add search form to header
3 posts from 2 voices-
Posted 1 year ago #
-
Hey! you can use the function call get_search_form() in header.php at line 120 to ad a search form to the top of the page
the templatefile code should look something like this:
echo '<div class="social_container extralight-border">'; get_search_form();
the searchform wont align perfectly out of the boy so i would recommend a little css styling:
.social_container #searchform{ position: absolute; right: 218px; top: 3px; }as an example. Just add these lines to the custom.css file in folder angular/css
I would also use css to remove the title row on specific pages. each page has a unque body id (jsut check the source code of any page and you should notice something like: )
body class="page page-id-86 page-template-default logged-in admin-bar stretched"
you can hide the page title with the following css rule then:
.page-id-86 . title_container{display:none}Posted 1 year ago # -
Excellent Thanks. I'll give it a shot.
Posted 1 year ago #
Reply
You must log in to post.














