I’m trying to change the color of a button in a template (image-with-text) but I only want to change the button color in only one template without change the button color on every other “image-with-text”. But when I change the color of the button in the code, it’s change the button color of every “image-with-text” template…
and the button are in the homepage, you scroll down, and you can see a pink background image-text section with a title “Nos tables se plient en 4 pour vous” and the button is black. I want to change the button color of this template
It took me a while to figure out the solution. Basically, the IDs of all the buttons are duplicates in the theme that’s why when you change one it changes all the buttons.
I found a way to give CSS to a specific element, here is the CSS for that
You can add the above CSS to your theme’s CSS file. If you want to use any other color you can change the CSS of the background color code. (e.g. background : [email removed]#YOUR-FAV-COLOR-CODE)