WordPress.org

Forums

Simple help with search function. (7 posts)

  1. RatFink
    Member
    Posted 10 years ago #

    I'm trying to change the color of the button for the search function and I'm having a devil of a time finding where I can change that. It's not in the style sheet or any where else that I can see.
    So where is it stashed?
    Thanx

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

  3. RatFink
    Member
    Posted 10 years ago #

    Nope, that didn't work, I tried this;
    #menu li form input.stock{
    background-color: #888;
    }
    <div>
    <input type="text" name="s" size="15" />

    <input class="stock" type="submit" name="submit" value="GO!" />
    </div>

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Link ?

  5. Beel
    Member
    Posted 10 years ago #

    #menu input.stock {background-color:#888;}

  6. Stevarino
    Member
    Posted 10 years ago #

    Excellent tutorial!
    RatFink: did you remember to define the class in the button's html? Unfortunately WP doesn't ship with that class defined (it probably should) so you have to add it yourself.

  7. RatFink
    Member
    Posted 10 years ago #

    Hmmm isn't this;
    #menu input.stock {background-color:#888;}
    defining the class?
    I just tried that instead of
    #menu li form input.stock{
    background-color: #888;
    }

    And it's still not working.
    Here's a link My brand new site with zero content

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.