The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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: ?

    # January 28, 2009 at 9:09 pm

    This reply has been reported for inappropriate content.

    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed