Hello
I am really struggling to use the button provided by the editor since they are not buttons (<"button">) but links (<"a">).
For this reason I am creating my own buttons using HTML however I am discovering some strange behaviors.
If I add the code below, it looks like I am not able to control the background color of the button. The says it should be green but for some reason it happens to be grey-blue. How can I color the background of my button
<style>
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<button class="button" onclick="startCheckout('acct_xxxxxxxxxxxxxxx+price_xxxxxxxxxx');">BUY NOW</button>
Hello
I am really struggling to use the button provided by the editor since they are not buttons (<"button">) but links (<"a">).
For this reason I am creating my own buttons using HTML however I am discovering some strange behaviors.
If I add the code below, it looks like I am not able to control the background color of the button. The says it should be green but for some reason it happens to be grey-blue. How can I color the background of my button
<style>
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<button class="button" onclick="startCheckout('acct_xxxxxxxxxxxxxxx+price_xxxxxxxxxx');">BUY NOW</button>