The text of the Clear/Print buttons does not change even if I add the CSS code you suggest.

  • Profile Image
    babaymumo
    Asked on November 11, 2013 at 12:23 PM

    Hi

    I injected this css code but i see now both names for the buttons

    1. button clear form = Abbrechen

    2. button Print = Drucken

    I need only for clear form "Abbrechen" and for print "Drucken"

    in the same button design style.

    check this here: http://www.babymumo.com/bestellformular.htm?agb_check=on&senden=Weiter+zum+Bestellformular

    how i can fix this?

    thanks



    This is a re-post of a comment on How to Change the Clear and Print Button Text?

  • Profile Image
    EliezerN
    Answered on November 11, 2013 at 01:40 PM

    thanks for contacting us.

    I checked your form and found that all you need to do is to add !important after each property in the CSS code, so your code needs to be in this waty:

    /*--PRINT BUTTON--*/

    .form-submit-print

    {

    font-size:0 !important;

    }

    .form-submit-print:after 

    {

    content: "Drucken" !important;

    font-size: 12px !important;

    }

    /*--CLEAR BUTTON--*/

    .form-submit-reset

    {

    font-size:0 !important;

    }

    .form-submit-reset:after 

    {

    content: "Abbrechen" !important;

    font-size: 12px !important;

    }

    That will enforce to the browser to read only the new text and not the default one.

    So, just update your code using the one I give you above and it should work correctly now.

    Please let us know if you need further assistance with this or kindly open a new thread to make unrelated questions.

    Thanks

  • Profile Image
    babaymumo
    Answered on November 11, 2013 at 02:23 PM

    perfect:-))..it works

    thanks for the fast and nice support

    have nice day or night:-)

    best

    Vik

  • Profile Image
    ardy0689
    Answered on November 11, 2013 at 03:37 PM

    On behalf of my colleague Eliezer, you are welcome. It is good to know you made it work. Feel free to open up a new thread for any inquiries you might have on the future by using this link.

    Regards