Forums

Removing search box from SimpleX header? (5 posts)

  1. AtomicPop
    Member
    Posted 10 months ago #

    Tried this in the How To & Troubleshooting forum but without response. I've just volunteered to take over administrating a WP site. I'm a relative novice with WP but probably somewhat more experienced than the previous site admin. At some point in the past he added a search box within the header of the site. Unfortunately it obscures part of the organization's title.

    http://daneforeclosurehelp.org

    I can't figure out how he added the search box and/or how to get rid of it....and neither can the last admin. He has no idea how he added it.

    Can anyone lend a little insight on what to look for and where? It's not widget based. Seems to be hard coded but I'm not sure where/what to look for. Any feedback would be greatly appreciated. It looks terrible right now and I really need to get it out of there.

    Thanks! Patrick

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Have you tried looking in header.php?

  3. AtomicPop
    Member
    Posted 10 months ago #

    Thanks, yes I had in the past. I even tried cutting out a line which was obviously related to search:

    <div id="searchdiv"><?php include (TEMPLATEPATH . '/searchform.php');

    But I must have cut it out incompletely at the time (the header disappeared). I put it back in thinking that obviously wasn't the right approach.

    I just tried it again though and must have done it right this time. Cut out that line and now the header is as it should be. Thanks for the pointer!

  4. AtomicPop
    Member
    Posted 10 months ago #

    Well don't know how this could be related but now everything on every page is center aligned rather than left aligned. I only clipped out the line above from the header.php. Could that really impact the formatting on every page?

  5. AtomicPop
    Member
    Posted 10 months ago #

    I pasted the line I thought was related (solely) to the search function I'm trying to remove back into the header.php. after doing so, the formatting on all the pages has now returned to left align, as it should be. I'm a little baffled by how that one line would impact the formatting on every page and change it to being center aligned.

    Any thoughts? Would it help if I post the contents of header.php here to see exactly what's in it?

Reply

You must log in to post.

About this Topic