WordPress.org

Forums

Contact Form 7
Style sent emails (2 posts)

  1. pixelmac
    Member
    Posted 9 months ago #

    Hello,

    How or what do I customize, in order to style or change the direction of emails sent by Contact Form 7 ?

    When a form is submitted no my site, I want to receive that Contact Form email content in “RTL” direction, aligned to right, and perhaps with some simple but nice html style.

    Thanks

    Dan

    https://wordpress.org/plugins/contact-form-7/

  2. mstudioIL
    Member
    Posted 9 months ago #

    I can tell you what I did if this what you need and I understand you.

    when you build or edit the form, in the "Message body" where you enter the fields you need you can do the customize, you need to use HTML and CSS.
    Something like:

    <div style='margin: 0 auto 0 auto;width:800px;text-align:center'><table border='0' cellpadding='5' cellspacing='5' style='border:solid 1px #2789e2;width:400px;'>
    <tr><td colspan='2' style='color:white;background-color:#2789e2;height:40px;text-align:center;vertical-align:top;font-size:16;'>Drop us a note</td></tr>
    <tr><td valign='top' align='left'>Name</td><td valign='top' align='left'>[name]</td></tr>
    <tr><td valign='top' align='left'>E-mail</td><td valign='top' align='left'>[email]</td></tr>
    <tr><td valign='top' align='left'>Message</td><td valign='top' align='left'>[your-message]</td></tr>
    </table></div>

Reply

You must log in to post.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.