Grow your CSS skills. Land your dream job.

Search bar

  • # January 28, 2009 at 4:51 pm

    in WP does anyone know how to make the search bar form field shorter? as in not as wide. Ive tried styling it a couple different ways under serchform.php but no luck. Id like to change the button too.

    # January 28, 2009 at 5:24 pm

    It should be as simple as adding a line to your CSS:

    #searchform #s { width: __yourwidthhere__px; }

    I’m assuming you are talking about the search form in your sidebar here: http://www.linkcreativedesign.com/blog ?

    # January 28, 2009 at 9:09 pm

    sweet thanks that worked! I was missing the #s… just has an id of Searchform.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".