How to change submit button in Single Post view

Hi

I would like to change the background color of the submit a message button in the single post view
If possible would like as well to be able to change the text of the button and the radius to have a rounded effect

Thanks in advance
Regards,
Gaelle

Hi Gaelle,

You can change the style to the comment form button with the below CSS code:

    .comment-form .form-submit input[type="submit"] {
      background-color: #ff0000;
      border-radius: 20px !important;
    }

    .comment-form .form-submit input[type="submit"]:hover {
      background-color: #fff000 !important;
      color: #000 !important;
    }

Make your own adjustments. To apply it to your site, add it to Appearance > Customize > Additional CSS from dashboard.

Regards,
Kharis
aThemes Support

1 Like

Thanks a lot works great.
Is there a way to change the text in the button as well?

Hi,

The easiest way to change the comment button text is by doing a translation with the help of this plugin. As the string belongs to the WordPress code, once the plugin installed, setup a translation to WordPress, search the source of the text to translate.

I hope that helps.

Regards,
Kharis
aThemes Support

1 Like