Support » Fixing WordPress » Changing the search form text box size?

  • Hi,

    Using the default template in 1.5, I want to change the size of the text box that is found is searchform.php so that it will fit properly in IE.

    At this time it is too long, so the ‘search’ button is pushed down under the text box.

    I went into searchform.php code and set the ‘size’ attribute of the input tag to different values … but for reasons I don’t understand, the text box size is not changing?

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You have to make the change in the stylesheet.

    Look for this line of code located about 3/4 of the way down the page and change the width.

    `#sidebar #searchform #s {
    width: 115px;
    padding: 2px;

    Thanks Robert.

    I’m surprised that the external CSS was able to override the size attribute right on the tag!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the search form text box size?’ is closed to new replies.