WordPress.org

Ready to get started?Download WordPress

Forums

how to configure search field and button (3 posts)

  1. sk4sk4
    Member
    Posted 8 years ago #

    Can someone point me to a good resource on how to configure a search field and its accompanying button? I'm trying to swap out or modify the existing search button that is part of the template I'm using, but am lost looking at the searchform.php file. Thanks!

  2. FruitFly
    Member
    Posted 8 years ago #

    The best way would probably be via CSS - this is a good walkthrough on styling buttons with CSS - you just need to add the right stuff to your CSS.

    If you're using the default theme, you'd specify something like the following:

    #searchsubmit {
    color:#050;
    font-weight:bold;
    border:1px solid #000;
    background: #fff;
    }

  3. sk4sk4
    Member
    Posted 8 years ago #

    great, this looks like it'll help me out a ton. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags