Support » Fixing WordPress » How to style Search Bar

  • I’m having trouble styling my search bar. What divs or classes do I use to style it?

    This is the html code:

    <div id="secondary">
    <ul class="xoxo">
    				<li id="search-3" class="widget-container widget_search"><form role="search" method="get" id="searchform" action="" >
    	<div><label class="screen-reader-text" for="s">Search for:</label>
    	<input type="text" value="" name="s" id="s" />
    	<input type="submit" id="searchsubmit" value="Search" />
      </div> <!--secondary category-->

    I was going to use the following CSS codes to style it, but it’s not working:

    #search label
    #searchform input

    Thank you. You’re help is greatly appreciated!

  • The topic ‘How to style Search Bar’ is closed to new replies.