Notifications
Clear all

Style [Solved] Need help to change search icon color

3 Posts
2 Users
1 Likes
130 Views
Posts: 4
Topic starter
(@edesign)
Active Member
Joined: 2 years ago

Hi 🙂 

I need help to change search icon color from black to white as you can see in the screen shot.

I changed in colors.css this code but the color does not change (even after purge and clean...cache)

#wpforo #wpforo-wrap .wpf-search i{ color: #ffffff; }

and I added color in style.css:

#wpforo #wpforo-wrap .wpf-search i{
	position: absolute;
	margin: 0 0 7px 0;
	top:0;
	font-size: 16px;
	line-height:30px;
	padding: 0 0 0 7px;
	z-index: 10;
	cursor:pointer;
	vertical-align:baseline;
	color: #ffffff;
	}

What I have to do?

Thank you in advance 😉 

Forum Page URL
wpForo Version
2.1.6
WordPress Version
6.1.1
Topic Tags
2 Replies
Chris
Posts: 3507
Admin
(@chris)
Support Team
Joined: 2 years ago

Hi @edesign,

Add the below CSS Code in Custom CSS Code field from wpForo > Settings > Colors & Styles Tab:

#wpforo #wpforo-wrap .wpf-search i{
    color: white;
}
Posts: 4
Topic starter
(@edesign)
Active Member
Joined: 2 years ago

Hi Chris 😉 

Thank you for your help 🤗