Home › Forums › Support › Search icon styling This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 20, 2019 at 7:49 am #874319 Harris Hello, How can I add a round blue bg to the searh icon and change the icon color to white? Something like https://www.iconfinder.com/icons/539825/blue_browse_circle_discover_explore_search_view_icon Thanks! GeneratePress 2.2.2GP Premium 1.7.8 April 20, 2019 at 10:44 am #874442 LeoStaff Customer Support Hi there, Give this CSS a shot: .search-item a:before { background-color: #333; padding: 5px; border-radius: 50%; } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ April 20, 2019 at 11:35 am #874467 Harris The circle is not exactly a circle. π I adjusted it with padding: 8px 5px 8px 5px; but not sure if its the appropriate way. You can check it in the site url. April 20, 2019 at 4:08 pm #874575 TomLead Developer Lead Developer For it to be a true circle, you’d need to define a height and width: .main-navigation .main-nav ul li.search-item a { line-height: normal; } .search-item a:before { background-color: #1c74b1; border-radius: 100%; color: white; width: 30px; height: 30px; line-height: 30px; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development April 20, 2019 at 10:24 pm #874696 Harris Perfect. Thanks Tom! April 21, 2019 at 7:49 am #874987 TomLead Developer Lead Developer No problem π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In