AJO Template Responsiveness Issue with Injected HTML | Community
Skip to main content
Level 2
October 30, 2025
Solved

AJO Template Responsiveness Issue with Injected HTML

  • October 30, 2025
  • 1 reply
  • 155 views

Hi team,

We’re seeing an issue where HTML injected via {{{context.messageBody}}} overflows on mobile devices. AJO wraps the content in containers with fixed width and transform: scale(), which breaks responsive designs that work fine with other providers. Attempts to override via CSS or viewport meta tags are ineffective.

Can you provide a way to disable this scaling wrapper or send the injected HTML “as-is” so that responsive CSS works correctly? This would allow transactional emails to render properly on mobile apps like Gmail and Outlook.

Thanks,

Tapan

Best answer by SatheeskannaK

@tapansaikiaTo optimize the process and mitigate potential rendering issues, I recommend structuring the HTML within the AJO email builder. This way, you can ensure that only essential contextual personalization data is passed, thereby circumventing the complexities and errors that can arise from directly injecting entire HTML structures. Also, if you inject HTML as messageBody, it may affect the performance of email delivery, especially with transactional emails. 

 

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
October 30, 2025

@tapansaikiaTo optimize the process and mitigate potential rendering issues, I recommend structuring the HTML within the AJO email builder. This way, you can ensure that only essential contextual personalization data is passed, thereby circumventing the complexities and errors that can arise from directly injecting entire HTML structures. Also, if you inject HTML as messageBody, it may affect the performance of email delivery, especially with transactional emails. 

 

Thanks, Sathees