- This topic is empty.
- The forum ‘CSS’ is closed to new topics and replies.
I am new in this area. I try to change the color of a submit button. I tried many different options, it did not not work. I can successfully change the text color of the button. Here is the code section. Can anyone help of how to change the button background color?
color: black !important;
background-color: yellow !important;
the ‘background’ elements added don’t have any effect.
Do you have the background-color set anywhere else in your css?
Also, you can right-click on the button and click “Inspect Element” to get all the details of the element and where the styles from from.
We would need to see the HTML & CSS in a Codepen to prooerly diagnose this issue.
Failing that a live link.
Although….could it be a spelling error?
should logically be…