Adjusting the newsletter components to match your own profile.
Templates for newsletters are maintained in json in settings. The setting is called newsletters_templates and contains an array of template objects.
Each template object looks like this:
{
"$key (1-10)": {
"name":"Template name",
"css":"css_alias", //Alias to newsletter css
"from_name":"Sender name",
"from_mail":"sender@company.com",
"styles": {
"body_background":"#000000",
"content_color":"#000000",
"body_width":"680",
"content_background":"#ffffff",
"rule_height":"10",
"c2a_color":"#ffffff",
"c2a_background":"#000000",
"rule_color":"#000000",
"c2a_button_class":"btn-red-lg"
},
}
//add more objects to have multiple templates
}
Values under styles defines the layout:
- body_background: The background of the newsletter (not the content area)
- content_background: The background for the content pane
- content_color: Main color for the font in the content pane
- body_width: Max width of the content pane (680 is recommended)
- rule_height & rule_color: Height and background color of the rule component
- c2a_color, c2a_background: Font color and background of the Call to action component.
- c2a_button_class: Button class for the call to action component.