WordPress.org

Forums

Preus
Search Bar (5 posts)

  1. spicciott
    Member
    Posted 11 months ago #

    I'm trying to remove the search bar from the header because it interferes with my image. Would this be possible?

    http://www.samanthapicciott.com

  2. technoHampto
    Member
    Posted 11 months ago #

    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

  3. stug2013
    Member
    Posted 7 months ago #

    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

  4. Motherofchaos3
    Member
    Posted 6 months ago #

    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.

  5. noaneo
    Member
    Posted 5 months ago #

    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

Reply

You must log in to post.

About this Theme

About this Topic