Make searchbar one line
-
I followed this tutorial with no luck.. anyone have any idea why?
First, instead of it being on 2 lines, with “Search” on a button below, how about making it one line only ?
Add this to your wp-layout.css – it doesn’t matter where;
form.searchform {display: inline;}
Now edit your index.php, and you will see these lines;
<form id=”searchform” method=”get” action=”<?php echo $PHP_SELF; ?>”>
<div>
<input type=”text” name=”s” id=”s” size=”15″ />
<input type=”submit” name=”submit” value=”<?php _e(‘Go!’); ?>” />
</div>
and delete the
that is in bold. That’s that done.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Make searchbar one line’ is closed to new replies.