Changing the search form text box size? (3 posts)

  1. kajukenbokid
    Posted 10 years ago #


    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?

  2. RobertMcClelland
    Posted 10 years ago #

    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;

  3. kajukenbokid
    Posted 10 years ago #

    Thanks Robert.

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

Topic Closed

This topic has been closed to new replies.

About this Topic