• Resolved mywebdesign

    (@mhwebdesign)


    Hi everyone,

    Sorry to create a second support question so quickly, but I didn’t want to muddy the waters with two topics in one thread.

    So we have a number of forms on our site and have dropped relevant code into the forms so that the text we have written comes out in another type of font, however are unable to get any of the fields submitted to display in a different font.

    I’ve reviewed the relevant code for outgoing emails (both client side and admin side), and can’t see what the problem might be. All the code seems to be right, yet for some reason any of the fields that get parsed through stay in the default font.

    If it helps we are using Sendgrid APIs to send email through.

    "use-admin-email":"true",
    "admin-email-title":"Contact Form Enquiry #{submission_id} via {form_name}",
    "admin-email-editor":"<p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">You have a new Enquiry \/ Contact Us Form submission from {name-1} at {name-2}.<\/p>\n<p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">The following information was entered in the form:<br \/>{all_fields}<\/p>",
    "admin-email-recipients"["[email protected]"],
    "user-email-title":"Submission successful - Thank you for contacting us.",
    "user-email-editor":"<p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">Dear {name-1}<\/p>\n
    <p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">Thank you for your enquiry.<\/p>\n
    <p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">We greatly appreciate the opportunity to do business and will get back to you shortly.<\/p>\n
    <p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">You submitted the following information to us:<\/p>\n
    <p style=\"font-family: Calibri, Sans-Serif; font-size: 20px;\">{all_fields}<\/p>"
    

    Thanks for any assistance on this one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @mhwebdesign

    Sorry to create a second support question so quickly, but I didn’t want to muddy the waters with two topics in one thread.

    You did well, as this is also helpful for us! ??

    Can you double-check that you have the “Calibri” font installed on your computer?
    If not, can you select a font that’s already installed and check again?
    Please advise!

    Thank you,
    Dimitris

    Thread Starter mywebdesign

    (@mhwebdesign)

    Hi Dimitris,

    Yep definitely have it installed as when the form is received it displays like this:

    IN CALIBRI 15PT
    Dear {name-1}
    Thank you for your enquiry.
    We greatly appreciate the opportunity to do business and will get back to you shortly.
    You submitted the following information to us:

    IN TIMES NEW ROMAN (Default).
    {all_fields}

    So it appears to be an issue with trying to change font for any fields.

    Note that “NAME” works fine though and displays in calibri, so its just something with the ALL FIELDS tag.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Font in Submission Email Fields’ is closed to new replies.