Contact us form - by ckeight - on WordPress WooCommerce support

Solved4 replies3 participantsUpdated by Eva Kemp

  • Avatar: ckeight
    ckeight
    Participant

    Hello! I am using the default setting of the “Contact us” page and would appreciate some help:

    -I would like to delete “surname” from the name field (so it just says “Name”)
    -I would like to change the message that comes up when a message is sent. Right now it says “all is well, your email has been sent.” I would like to change that to “Your message has been successfully sent.”
    -On the above message, it comes up in a green background- I would like to change that to a pink background.

    Thank you so much for your help!!!

    Please, contact administrator
    for this information.

    4 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please provide us with wp-admin and FTP credentials.

    Regards,
    Jack Richardson

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    1. You need edit the file wp-content/themes/legenda/contacts.php, find the lines with ‘Name and Surname’ and remove “surname”.
    2. To change that text you need edit the same contacts.php file, line 64.
    3. To change the background color of the message add this code into custom.css file:
    .success {background-color: #98C391 !important;} and change the color value to yours.
    Here you can watch the tutorial how to create custom.css.

    Also we recommend you to make any changes in files via child theme: http://codex.wordpress.org/Child_Themes not to lose the modifications after theme update.

    Regards,
    Eva Kemp.

    Avatar: ckeight
    ckeight
    Participant

    Great! Thank you, it worked!
    I tried to make a child theme but writing the style sheet made me nervous. I am just going to make a list of all the modifications I do and when I update my theme I’m going to redo them.

    Avatar: Eva
    Eva Kemp
    Participant

    You’re welcome.

    Regards,
    Eva Kemp.

The issue related to '‘Contact us form’' has been successfully resolved, and the topic is now closed for further responses