Issue
When creating applying a custom theme in Acquia Campaign Studio (Mautic), the theme is not appearing as expected.
Cause
There are a couple common causes:
- When parsing twig files, Acquia Campaign Studio is picky when it comes to quotation marks, any curly quotes will cause the theme to either fully break or provide otherwise unexpected results. These curly quotation marks are typically introduced into code when copying and pasting from other sources. You can find further information on the differences between types of quotation marks here: https://typographyforlawyers.com/straight-and-curly-quotes.html
- Any image names may only contain letters and/or numbers, any special characters will cause an internal error within Acquia Campaign Studio
Resolution
- ctrl/cmd+f within your custom twig files for any instances of curly quotes(double or single: ‘ ’ “ ”) and replace them with straight quotes: " '
- ensure no filenames(or references to them within code include any special characters