Completely deleting the search form from header

  • Author
    Posts
  • #1142470

    sherpakyle
    Member

    I would like to completely delete the search form from the header area. I got some good help yesterday showing me how to make it disappear using the following:

    #branding #searchform {
    display: none;
    }

    While it doesn’t display, it appears to still be in that location and prevents the text of parent pages from filling up that area of the header band–which I don’t like the look of the resulting text wrap and large area of solid color. When the search form is located above the header image (which happens when I check the box to “show header text with your image”), the parent page text fills the space.

    Thanks in advance for any help!

    The blog I need help with is hikingangelesforest.com.

    #1142697

    In the original CSS, there was 205px of right padding on the menu div to keep it from overrunning the search box. Add the following to the end of your CSS and it will fix it for you.

    #branding .only-search + #access div {
    padding-right: 0;
    }
    #1142704

    sherpakyle
    Member

    thesacredpath,

    Thank you, that worked exactly the way I wanted it too!

    Kyle

    #1142734

    You are welcome.

The topic ‘Completely deleting the search form from header’ is closed to new replies.