WordPress.org

Support

Support » Themes and Templates » Search Bar

Search Bar

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi spicciott,

    Yes, this is possible. First it is recommended that you create a child theme if you haven’t already done so: https://codex.wordpress.org/Child_Themes

    Then you will want to remove (or comment out) the following lines in the header.php file in the themes (Preus) root directory

    EDIT: Best just to remove the PHP rather than the HTML due to structure

    <?php get_search_form(); ?>

    Thanks

    Hi, I have created a child theme and removed the function like suggested. That removes the search area. How do you remove the whole semi transparent bar? Is that the parallax header?
    Or thinking about it leave it but make the image height deeper so that I can move it down and not loose the top of the image?
    Thanks
    Really like the clean theme by the way

    Motherofchaos3

    @motherofchaos3

    im glad you asked this question because i had the same one. i am also wondering how to remove that bar at the top. i did it last night, however, i removed too much code and it also removed the carousel as well.

    Hi,

    In style.css, the child theme, put
    #top-bar{display: none;}

    or
    #top-search {display: none;}

    elements, colors, locations, font, font-size are indicated in a css file.
    To hide something
    display:none;
    or
    visibility:hidden

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Bar’ is closed to new replies.