Forums

[resolved] Installed a new theme and the search box/function won't work (3 posts)

  1. melotoma
    Member
    Posted 2 years ago #

    The site.

    Installed a new theme, 'Disciple', and the new search box is dead.

    It's a specific problem: you can hover your cursor over the box and click, but it never actually enters the box so that you can type out and search a string.

    I've switched the box to the other column, same problem. I've copied code for other search boxes and created them in either column, same problem.

    Not that it should matter because every box I've tried has the same problem, but here's the template:

    <h2>Search</h2>
    <form method="get" id="searchform" action="<?php bloginfo('home');?>" >
    <input type="text" onfocus="if (this.value == 'Search this blog') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search this blog';}" value="Search this blog" name="s" id="s" ></form>

    Anyone know what's the problem?

  2. melotoma
    Member
    Posted 2 years ago #

    Got it.

    Turns out, if you put the cursor over the box and clicked, and if you typed out an invisible term, it would actually enter the box. You press 'enter' and the search worked fine. So it just wasn't visible.

    I went to my stylesheet and called up this:

    /* search box */
    #searchform #s
    { width:150px; }

    . . and added a font and size, and that took care of it.

  3. melotoma
    Member
    Posted 2 years ago #

    uh, resolved

Topic Closed

This topic has been closed to new replies.

About this Topic