I am trying to create a website with wordpress and I want to change the text value of the submit button (included in the pictures). When I change its' text value while inspecting the element, it changes successfully, but when I do it with custom CSS, it fails. What code should I write to the custom CSS file to successfully change the buttons' text value?

enter image description here

enter image description here

2 Answers 2


you would have many options to change button text like jquery and if you know about that registration form from where it is coming from.

By using jquery you would have to add below code at the end of the footer.php file like as below:

    // Change text of input button
    $(".ur-submit-button").prop("value", "Input New Text");
   // Change text of button element
   $(".ur-submit-button").html("Button New Text");

Use this Jquery,

$(document).ready(function() {
    $(".ur-submit-button").text('your button text');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.