Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9036

    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?




    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">';

    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}


    Excellent Thanks. I’ll give it a shot.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘add search form to header’ is closed to new replies.