How to style email content

Style email content to display labels above field values.

Overview

The default email template displays labels inline to the left of field values.
Replace the default email content with custom HTML, using {data:field_name} placeholders to position labels and values independently.

Answered
ChronoForms v8
Li LikeStuff 02 May, 2025

Hi there,

Is there a way to get the email content to display the label at the top instead of on the left.

For example, it looks like this:

First Name: First name test

Last Name: Last name test

I would prefer it like this:

First Name: First name test

Last Name: Last name test

Thanks!

Max_admin Max_admin 05 May, 2025
Answer

Hi

You can remove the default Email content and use your own HTML code, use {data:field_name} to get the value of any field, so your content can be:

<div style="font-weight:bold;">First name:</div>
<div>{data:first_name}</div>

and so on for the rest of fields

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply