Home › Forums › Support › Change color sidebar icon This topic has 9 replies, 4 voices, and was last updated 3 years ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts March 15, 2023 at 9:19 am #2568795 _blank Hi, how can I change the color of this magnifying glass icon? The color does not change by setting different colors for the container in the sidebar. Please see: https://prnt.sc/6I4v0MiNVy2n Best wishes Lucas March 15, 2023 at 9:44 am #2568841 YingStaff Customer Support Hi Lucas, You can use the color setting at customizer > colors > buttons to control it. March 15, 2023 at 10:41 am #2568911 _blank Hi Ying, I changed it to white in the customizer but it did not work. https://prnt.sc/yybJtecEj6r- March 15, 2023 at 11:20 am #2568954 LeoStaff Customer Support Any chance you can link us to the page in question? You can use the private information field: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information Let me know 🙂 March 15, 2023 at 12:50 pm #2569054 _blank The element is in the side bar of a single post page. Please have a look at the link in the private information field. March 15, 2023 at 3:09 pm #2569144 YingStaff Customer Support The button has this has-text-color class which sets the text color to var(--text);. The icon inherit the text color, and it overrides the customizer color setting. Can you try setting the search block’s text color to white? March 16, 2023 at 5:09 am #2569756 _blank Sadly, that did not work. I changed the color to white and it showed correctly in the block editor but not at the front end. Block editor Front end March 16, 2023 at 5:32 am #2569797 DavidStaff Customer Support Hi there, try adding this CSS: .has-weiss-color { color: var(--weiss) !important; } March 16, 2023 at 5:56 am #2569821 _blank Hi, this worked. Thank you very much. March 16, 2023 at 7:25 am #2569911 DavidStaff Customer Support Glad to hear that ! Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In