Notifications
Clear all

[Solved] How to change the color of the search bar

4 Posts
2 Users
1 Likes
390 Views
Posts: 30
Topic starter
(@martinentrp)
Trusted Member
Joined: 1 year ago

how do i change the color of the search bar?

3 Replies
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @martinentrp,

You want to change the Icon Color or Background Color?

Posts: 30
Topic starter
(@martinentrp)
Trusted Member
Joined: 1 year ago

hello, The background Color

 

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@martinentrp,

Use the below CSS Code:

#wpforo #wpforo-wrap .wpf-search input[type="text"].wpf-search-field:focus {
    background:red;
}