News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How canI remove the search hover over and text?

Started by devinlefevere, September 15, 2009, 05:36:06 PM

Previous topic - Next topic

devinlefevere

I've removed the box obviously but, how can I completely remove this? Heres a link to my site.

wwww.southcarolinahardcore.com

shadow82x

Attach your themes index.template.php here please. :)
Colin B
Former Spammer, Customize, & Support Team Member

devinlefevere

Quote from: Shadow82x on September 15, 2009, 05:36:54 PM
Attach your themes index.template.php here please. :)

it's ironic how this happens to me everytime I search and search then make a post... as soon as I do I found the problem  :P.

I deleted this from my template. Looks okay?

echo '
   </div>';
        echo '
        <div id="searcharea">';
           echo '
        <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
        <input class="inputbox" type="text" name="search" value="', $txt[182], '..." onfocus="this.value = ¥'¥';" onblur="if(this.value==¥'¥') this.value=¥'', $txt[182], '...¥';" />';

shadow82x

You don't need the searcharea template coding at all. It's unused.

Code (Remove) Select
        echo '
        <div id="searcharea">';
           echo '
        <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
        <input class="inputbox" type="text" name="search" value="', $txt[182], '..." onfocus="this.value = ¥'¥';" onblur="if(this.value==¥'¥') this.value=¥'', $txt[182], '...¥';" />';


;)
Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: