Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #603920

    Hi,
    I’m trying to find an option to change the layout of the sent emails from the contact form.

    Now the email looks like this:
    Name: xxx
    email: xxx
    phone: xxx

    Can I change the “:” to “=” ???

    Thanks, Enrico

    #604067

    Hey enricobaumgart!

    for this you could use a plugin like Contact Form 7.

    Cheers!
    Andy

    #604363

    Hi Andy,
    Thanks for the tip.
    But if I use Contact Form 7, is there a easy way to implement the CSS styling of the theme?

    Or maybe I just need to change some lines in the contact.php file to get the “=” instead of “:”?

    Thanks, Enrico

    #604459

    Hi!

    You can change one line (882) in /enfold/framework/php/class-form-generator.php: from:

    $message .= $element['label'].": ".$field_value." <br/>";
    

    To:

    $message .= $element['label']."= ".$field_value." <br/>";
    

    Be aware however that updating the theme will reset this modification.

    Best regards,
    Josue

    #604557

    Perfect, thanks :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Contact form – change layout of sent email’ is closed to new replies.