WordPress.org

Ready to get started?Download WordPress

Forums

How to style Search Bar (1 post)

  1. antonel1
    Member
    Posted 3 years ago #

    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="http://antonellac.ca/blog/" >
    	<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>
    
      </div> <!--secondary category-->

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

    #search-3
    #search label
    #searchform
    #searchform input
    #searchsubmit

    Thank you. You're help is greatly appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.