Custom search button with CSS

[ad_1]

Hi there!

For styling <input type=”button”> elements, try “bacgkround” instead of “background-color”:

input#wpsl-search-btn {
    border-radius: 25px!important;
    border: 0px!important;
    box-shadow: none!important;
    background: #f7f3f0 !important;
    color: #222!important;
}

As for the scrollbar thumb color, since it is a non-standard CSS feature (see this), results may vary from browser to browser, and even between different versions or platforms of the same browser, so I cannot give you a universal solution.

Regards!

  • This reply was modified 27 minutes ago by farroyo.

Thread Starter
art_n

(@arthrnvrn)

Argh, consider it’s monday for the input tag (:

Thank you

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer