Archived topic
Search Icon Background Color
1 reply · Started by Sanu Kumar on July 23, 2021
Viewing posts 1–2 of 2
How do I add background color in the search icon and also, how do I make a dropdown arrow (filled) as shown below?
Reference Site: https://www.smartpassiveincome.com/about/team/
My Site: https://www.masteryblogging.com/
Hi there,
Try this CSS to change the background color:
.main-navigation li.search-item {
background-color: #333;
border-radius: 50%;
}
As for the dropdown arrow, you will need to switch out the icon using this method:
https://docs.generatepress.com/article/generate_svg_icon_element/
This archived topic is closed to new replies.
