• Is it possible to change the style of the “Submit comment” button in the post comment form?

    I managed to style the Subscribe button targeting the following CSS element:

    #subscribe-submit input[type=submit] {
    /* custom style here*/
    }

    You can see the result on the sidebar of this page (the white/green “Lá vai!” button): http://www.ufrgs.br/intervires/exemplo-de-noticia-01

    Now I’m trying to do the same with the Submit comment button, targeting the following CSS element, with no success:

    #comment-submit input[type=submit] {
    /* custom style here*/
    }

    You can see from the page I provided above that the Submit comment button is still gray/default (not the Reply button, but the one in the comment form, at the end of the page).

    Thank you in advance.

    https://wordpress.org/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Contributor csonnek

    (@csonnek)

    Happiness Rocketeer 🚀

    Hi there!

    Currently, it isn’t possible to customize the Jetpack Comments #comment-submit input.

    The comment form is loaded in an iframe that’s served from the WordPress.com servers, so all of the CSS and button text is from there and will ignore any locally-set CSS. So customizing any text elements in that iframe is also not possible.

    You can create custom text for the Subscribe button as that’s loaded on your site locally and can be modified via CSS as you have discovered.

    I hope that clarifies things. Let me know if you have any questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Change style of comment form button’ is closed to new replies.