Creating custom Mautic themes

Mautic themes control how emails, landing pages and forms look and behave. This page explains what a custom theme contains, which theme type fits each need, and what the build, packaging and upgrade work involves.

On this page

When a team needs custom Mautic themes

A custom Mautic theme is a set of templates and assets that changes how Mautic presents its output to the people who receive or see it. Teams build one when the default look cannot carry their brand or layout requirements, for example when marketing needs a fixed header, footer and typography across every email, or when landing pages and embedded forms must match a company site without visible Mautic styling. If the default presentation already meets those needs, a custom theme adds maintenance work without adding value, so the first decision is whether the gap is in the presentation itself or in content, segmentation or delivery, which a theme will not fix.

Theme work covers three surfaces: emails, landing pages and forms. Each surface has its own template structure and its own review path, and a change that looks correct in one can break another, so the scope should list all three from the start. The work also sits between two groups. Marketing design usually owns the brand decisions, such as colors, layout and copy placement, while platform engineering owns the template files, packaging, installation and testing across the instance. Name an owner for each side before the build begins, because unclear ownership is the most common reason a theme is abandoned after the first upgrade.

A theme must survive upgrades on the release line the instance runs. Mautic publishes a release calendar with security support windows that differ by version, so the theme should be built against the release line your team will keep running, not the one used for the prototype. Before committing, confirm the current theme structure, packaging rules and override behavior against the Mautic documentation for that release line, and ask whether any form theme requires manual upload in your setup. Treat the theme as code under version control with a test step on a staging instance, since a template change that breaks a send or a form can reach real contacts quickly.

What a Mautic theme package contains

A Mautic theme combines templates, a package that carries them and a descriptor file that tells Mautic what the theme is. Each part has a different owner and a different risk at upgrade time, so plan who maintains each one before the build starts.

Twig templates for each surface

Twig templates hold the markup for each surface a theme covers: emails, landing pages and forms. Each surface has its own template set, so a change to the email layout does not change a landing page. The theme developer writes and maintains these files, and the marketing team should review them against the rendered output in each surface. Confirm the template names and the blocks each surface expects in the docs for your release, because those names are the contract between the theme and Mautic.

Zip package for upload

The zip package carries the templates, assets and config file into Mautic as one archive. The developer who builds the package owns its folder layout and its contents, and the administrator who uploads it owns the step of testing it on a non-production instance first. Keep the build repeatable so that the same archive can be rebuilt after a fix. Confirm the required folder structure for your release before packaging, since an archive that does not match the expected layout will fail in ways that are hard to trace.

config.json theme descriptor

The config.json file describes the theme to Mautic: its name, the surfaces it supports and the settings it exposes. The theme author maintains the keys and their values, and any change to them should be recorded with the package version. Treat this file as configuration that is reviewed like code. Confirm each key your release expects in the docs before you write the file, and check the theme list in the administration area after upload to confirm Mautic read the descriptor as intended.

Form themes need manual upload

Form themes are not handled through the same path as email and landing page themes, and the docs describe them as uploaded manually. Someone with administrator access must place the form theme files on the instance, which makes this a step that a deployment pipeline may not cover without extra work. Assign an owner for this step and add it to the release checklist, so form styling does not drift after a new theme version. Confirm the upload location and procedure for your release in the docs.

System themes override core templates

A system theme overrides core templates across the instance, so its markup replaces what Mautic ships by default. The platform team owns this decision because every override is a copy of core markup that must be kept in step with later releases. After each upgrade, review each overridden template against the new core version and retest the affected pages before go-live. Keep overrides to the smallest set needed, and confirm in the docs which core templates a system theme may replace for your release.

How a theme reaches emails, pages and forms

The path starts with the designer's Twig templates and assets, which are packaged into a zip with a config.json file. The package is then uploaded or installed on the Mautic instance, and the theme is applied to email templates, landing pages and forms. Form themes may need a manual upload, so confirm which surface your package will reach. System themes take a separate branch because they override core templates, and they should pass a review on a staging instance before they reach production.

Theme packaging and the three surfaces it reaches, with the system theme branch.

Choosing a theme type for each need

This table compares the four ways a team can build or adjust a Mautic theme, from email and page themes to system overrides of core templates. Read each row as a trade-off between how much visual control you gain and how much work you take on when Mautic is upgraded. The main takeaway is that the more a theme reaches into core templates, the more it must be retested at every upgrade.

Theme optionWhat it changesWho can deploy itUpgrade exposureWhen it fits
Email or page themeLayout and styling for emails, landing pages and templates built on Twig files packaged with config.jsonAdmins with access to the Mautic theme upload or the zip package, usually through the marketing ops teamLow to moderate; it sits outside core files, but confirm compatibility with each target releaseBrand updates to emails and landing pages without changing Mautic's internal behavior
Form theme with manual uploadMarkup and styling for forms, uploaded as a theme package rather than edited in placeAdmins who can upload themes; confirm whether your release requires a manual upload stepLow to moderate; retest form rendering and embedded forms after each upgradeForms that must match a site's design across several landing pages
System theme overriding core templatesReplaces core Twig templates for admin screens or other core viewsDevelopers with server access and a tested deployment path, since changes live in the installationHigh; each override can break when core templates change between releasesOnly when a required screen cannot be styled any other way and you accept ongoing retesting
Default theme with small changesAdjusts colors, logos, fonts or a few blocks of an existing themeAny admin who can edit or copy the default themeLow; fewer changed files means fewer conflicts at upgrade timeEarly phases or teams with limited design and development capacity

How to build and ship a custom Mautic theme

This sequence takes a theme from a confirmed Mautic release line to a reviewed package running in production. Each step closes with a named output, so the team can see what passed and who signed off before anything reaches live email, landing pages or forms.

  1. Confirm the Mautic release line and support window

    Identify the Mautic version running in production and check its support status on the Mautic releases page before writing any code. Confirm the PHP version the instance runs, since Mautic 7.0 accepts PHP 8.2 through 8.5, and check whether the release is on active, security or extended support. The output is a short record naming the exact version, its support end date and the PHP version, which every later step is tested against.

  2. Define brand and template scope per surface

    Agree with marketing and the web team which surfaces the theme must cover: email templates, landing pages, embedded forms, or system pages that override core templates. List the brand elements each surface needs, such as logo, colors, typography, footer and legal text, and mark which surfaces are out of scope. Record whether any surface will override core templates, because that change carries more upgrade risk. The output is a scope document with an owner and a sign-off from the brand lead.

  3. Build Twig templates and assets locally

    Create the theme folder with Twig templates for each agreed surface, plus the CSS, images and JavaScript it references. Build against a local or staging instance of the same Mautic version, not production, so template errors appear in a place where they cannot reach contacts. Keep asset paths relative and avoid loading external resources that email clients or corporate firewalls may block. The output is a working theme folder that renders every in-scope surface on the test instance.

  4. Write the config.json file

    Create the config.json file that tells Mautic how to register the theme, including its name, the features it supports and the surfaces it covers. Check each key against the Mautic theme documentation for the release line you confirmed, and do not copy keys from older examples or third-party themes without checking them. Validate that the file parses as JSON and that Mautic lists the theme under the correct type. The output is a valid config.json that Mautic recognizes on the staging instance.

  5. Package the theme as a zip file

    Compress the theme folder into a zip archive with the folder structure Mautic expects, so the root of the archive matches what the installer or upload screen requires. Name the archive with the theme name and a version number, and store it in your artifact repository with a checksum. Unzip it into a clean directory to confirm that no development files, local caches or credentials are included. The output is a versioned, checksummed package that the team can reproduce.

  6. Test emails and forms across clients and devices

    Send test emails and load landing pages and forms on the range of mail clients, browsers and screen sizes your audience uses, and check rendering, links, images and the unsubscribe and preference elements. Confirm that embedded forms render correctly on the sites that host them and that required fields and consent text still appear. Log each failure with the client and the fix applied. The output is a test matrix with pass or fail results and a list of open defects, with each defect assigned to an owner.

  7. Install and review the theme in staging

    Upload or install the zipped package on the staging instance using the method your Mautic version supports, and confirm that the theme appears and applies to the intended surfaces. Form themes may need a manual upload and system themes change core template behavior, so check each surface after installation. Have marketing, the web team and the security or compliance owner review the output against the scope document. The output is a signed review record that lists the tested version, package checksum and approvers.

  8. Promote the approved theme to production

    Install the same checksummed package that passed staging on the production instance, during a window agreed with marketing so that no campaign sends during the change. Verify the theme on live landing pages and forms, send a controlled test email, and keep the previous theme available for rollback. Record the change in your change log, including the package version and the person who approved it. The output is a production change record and a rollback path that has been confirmed to work.

Why system theme overrides need upgrade testing

A system theme that overrides Mautic core templates ties your instance to the markup of a specific release. Every template you replace is a copy of core markup taken at one point in time, so when Mautic changes the template underneath, your copy keeps serving the old structure, variables and blocks. The result can be a broken page, a missing field or a form that stops rendering, and the failure may only appear after the upgrade is already live. Treat each overridden core template as a dependency that must be re-tested on every upgrade.

Mautic's stated cadence sets how often you will face this. The Mautic releases page describes monthly patch releases, minor releases every three months and major releases every two years. Current support windows on that page include Mautic 7.2 with active and security support until 30 September 2026, Mautic 6.0 with security support until 30 September 2026, and Mautic 5.2 until 30 June 2026. Confirm these dates on the releases page before you plan, because a theme tested against one line may need retesting when you move to the next supported line, and a line that falls out of support leaves you with no security fixes to apply.

Plan the work around a written record and a repeatable test. Keep a register listing every core template your system theme replaces, the Mautic version it was copied from, the reason for the override and the owner who will review it. After each patch, minor or major upgrade, render each affected email, landing page and form in a staging copy, check tracking and form submission paths, and compare the output with the register. Ask your vendor or internal team to show how the register is updated when a template changes, because undocumented overrides are the most common reason an upgrade looks successful but breaks a campaign.

What drives custom theme effort and cost

This table compares the factors that raise or lower the effort of a custom Mautic theme project and shows who pays for each part of the work. Read each row as a question to answer before requesting a quote, since most cost comes from how many surfaces, templates and environments the theme must cover. The main takeaway is that a small set of shared base templates and a clear review step usually costs less over time than many one-off designs.

DriverWhy it changes effortHow to keep it down
Number of surfaces (emails, landing pages, forms)Each surface type has its own template structure, slots and rendering constraints, so every additional type adds design and test work.Start with the surfaces needed at launch and reuse one shared header, footer and styling base across them.
Distinct templates and layoutsEach separate layout is designed, built, tested and maintained, and changes to shared styling must be checked against each one.Limit layouts to a few named variants and push variation into content blocks or configuration instead.
Use of system overridesOverriding core templates ties the theme to Mautic internals, so each core update may require a review of every override.Override only where no supported theme option fits, document each override, and keep a list to recheck at every upgrade.
Accessibility and email client testingEmail clients render HTML and CSS differently, and landing pages and forms need keyboard and screen reader checks, so testing scope grows with each surface.Agree a fixed set of target clients, browsers and accessibility checks in the scope rather than testing open-ended.
Number of environmentsEach environment (development, staging, production) needs packaging, configuration and verification, and drift between them creates rework.Package the theme once as a zip, deploy the same artifact to every environment, and keep environment-specific settings out of templates.
Mautic release line and upgrade frequencyTheme code runs against a specific release line, so a move to a newer line or a frequent patch cycle can require retesting and template fixes.Confirm which release line the theme targets, check supported versions before building, and budget regular retesting in the upkeep agreement.
Review and approval stepsEach review round by brand, legal or accessibility owners adds revision cycles, and unclear sign-off criteria extend them.Define approvers, review criteria and the number of revision rounds in writing before design starts.
Form themes that need manual uploadForm themes must be uploaded and applied by hand in each instance, which adds a deployment step for every environment.Document the manual steps in the runbook and assign one owner for uploads in each environment.

Who owns the theme in each environment

Designers and developers own the theme source while they build it against a development copy of Mautic. This copy is usually a separate installation that holds no live contact data, so the team can change templates, rebuild the theme package and test emails, landing pages and forms without touching real subscribers. The owner works in a version-controlled repository that holds the theme files, and the local Mautic version should match the version used in staging and production.

  • Owner: the lead designer or front-end developer, with a named back-up who can pick up the work.
  • Access needed: administrator access to the local instance only, plus read and write access to the theme repository.
  • Handover includes: the theme source, the packaged zip, the config.json file and a short note on which templates were changed.
  • Breaks when drifted: templates that render correctly locally fail in production because the Mautic version, PHP version or template structure differs.
  • Test data: use synthetic contacts only, never an export of live contact data.

Confirm the installation method and the local setup steps in the Mautic installation documentation before you standardize the developer environment.

Where themes meet the rest of the Mautic setup

A theme change rarely stays inside the theme. Emails, embedded forms, landing pages, plugin code and upgrades all draw on the same templates, so each change needs a check in the place where it lands. The cards below name what to verify and who should approve it before a change reaches production.

Email templates and sending

Email themes are rendered at send time, so the template a contact sees is the one Mautic builds from the theme, not the one you preview in the editor. Check a test send through your real transport, including the HTML and plain-text parts, links, tracking pixels and unsubscribe content. Email delivery owners should approve, because a broken template can affect sender reputation as well as appearance.

Embedded forms and form hooks

Form themes render on your customers' sites, outside your Mautic admin, and any change to field markup can break the JavaScript hooks that customize how forms behave. Test each embedded form on a staging page that matches production, including validation messages and submission responses. The web team that owns the host site should sign off with the marketing owner of the form.

Landing pages and website tracking

Landing page themes carry the tracking script and any dynamic content or focus items that depend on page structure. A class name or wrapper change can stop visitor identification or hide a focus item without an obvious error. Confirm tracking fires and identifies a test visitor after the change, and have the web analytics owner approve the result.

Plugin code and core overrides

System themes override core templates, and a plugin may ship its own templates that depend on the same core blocks. When a theme and a plugin override the same file, the one that wins can change after an update or plugin install. Review every overridden template against the plugin list, and have the platform engineer who maintains plugins approve the change.

Upgrade and template compatibility

Each Mautic release can change core templates, Twig blocks or variables that a custom theme relies on. Keep the theme in version control, rebuild it against the target release in a staging copy, and compare rendered output before upgrading production. The upgrade owner should approve the result, and the theme owner should record any template that needs rework.

Patch release cadence
Monthly
Mautic releases

Questions buyers ask about custom Mautic themes

What does a custom Mautic theme cost, and what drives the price?

The price follows the written scope, and the scope is set by how many templates the theme needs, how much of the design is new, and how much testing sits behind it. Cost falls into design and front-end build time, Twig template work for emails, landing pages and forms, packaging the theme as a zip with its config.json, testing across the mail clients and browsers your audience uses, and handover documentation. Most of this is one-time. Recurring cost comes from post-launch changes and from retesting the theme when Mautic moves to a new release line. Ask any quote to list each template type separately, state whether system theme overrides of core templates are included, and explain how upgrade testing is priced.

How long does building a custom Mautic theme take?

Duration depends on the number of email, landing page and form layouts, the number of brand review rounds, and how much cross-client testing the emails need. Email templates usually take the most testing time because rendering differs between mail clients. Form themes add a step teams often overlook: they may need to be uploaded manually in Mautic, so plan that step and its approval time separately. Ask for a timeline by milestone, covering design approval, template build, test sends, packaging, upload and sign-off. Also ask what happens if a milestone slips and which environment the build uses for testing before production.

What does a custom Mautic theme need from our internal team?

The internal team needs to supply decisions and access rather than build work. Name one owner for brand decisions and one approver for each review round. Provide access to a staging Mautic instance where the theme can be tested with real segments and send settings. Someone on your side should be able to confirm that test sends are delivered, which depends on email delivery and queue processing already working. Finally, name the person who will upload the theme to production and who signs off on it. Clear answers to these four points shorten the build more than any other input.

Can a marketing designer build a Mautic theme without developers?

A marketing designer can own the visual system, including colors, typography, layout and copy direction, and can review each template before it ships. Building the theme package is different. It involves Twig templates, the zip structure, config.json, and any overrides of core templates, which need someone who can read and debug code. A common split is designer-led visual decisions with a developer who owns the package and the upgrade path. Ask a provider which parts of the work a designer would do directly, which tools the designer needs, and who fixes rendering problems that appear after a test send.

Will a custom Mautic theme survive upgrades?

A theme survives upgrades when it avoids unnecessary changes to core templates, and when each override is documented and tested before a new release goes live. Core templates change between releases, so a theme that overrides them carries the most upgrade risk. Mautic publishes a monthly patch cadence, minor releases every three months and major releases every two years, so the release line you run determines how often you retest. Confirm that the provider will retest the theme on staging before each planned upgrade and state how that retest is covered in the quote. The Mautic releases page lists the current supported lines.

Can a Mautic form theme be deployed without a manual upload?

Plan on a manual upload step for form themes. Teams that work with form themes typically need to upload them through the Mautic interface, so an automated pipeline may not cover the full path. Confirm this against the Mautic version you run before you finalize the deployment plan. If your release process is strictly automated, ask the provider how the form theme will be packaged, which person will perform the upload, and how the upload is recorded for audit purposes. Build the upload step into the timeline and the handover checklist, so it does not become a surprise on release day.

What should we confirm before signing a theme scope?

Confirm the scope in writing before work starts, since most engagements are fixed-scope with agreed deliverables and timelines. Check the number and type of templates, the Mautic release line the theme targets, and whether system theme overrides of core templates are included. Confirm who owns the source files and the zip package, which testing scope applies across email clients and browsers, what handover documentation you receive, and whether retesting after upgrades is included or quoted separately. Also confirm who uploads the theme to production and who approves it. Each of these answers changes the quote, so ask for them up front.

How DeployOpen works on this

DeployOpen scopes Mautic theme work in writing before any template is changed, then builds, tests and hands over the theme inside your own Mautic instance. The written scope fixes which asset types, templates and upload paths are covered, so your team knows exactly what it receives.

How we scope

  • We list which theme types you need: email, landing page, form, or system override of core templates.
  • We inventory existing templates, brand assets and any custom plugins that touch the same views.
  • We agree the written scope, deliverables and timeline before work starts, since engagements are fixed-scope.
  • We confirm your Mautic release line and PHP version so the theme is tested against the right platform.

How we build

  • We build Twig templates and config.json in a version-controlled package that your team can review.
  • We package the theme as a zip with the required structure, then test each theme type separately.
  • We flag form themes that need manual upload so the upload step is documented, not left to memory.
  • We keep system theme overrides minimal so future core changes are easier to review during upgrades.

How we hand over

  • We deliver the source, the packaged zip and a short install guide for each theme type.
  • We document which templates are overridden and how to revert a theme if it misbehaves.
  • We walk your administrators through uploading, selecting and testing themes in your instance.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We can retest theme templates after a planned Mautic upgrade so your campaigns keep rendering correctly.
  • Ask us to confirm how your theme behaves on the release line you run before you approve an upgrade.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.