Expand my Community achievements bar.

Dive in, experiment, and see how our AI Assistant Content Accelerator can transform your workflows with personalized, efficient content solutions through our newly designed playground experience.
SOLVED

Custom HTML

Avatar

Level 4

Hi team,

 

I want to import custom HTML code and use compatibility mode without converting the HTML, if i am convert it will added additional styles break the styles. Is there an alternative method to achieve this while keeping the structure consistent?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Ajo_WisdomChase 

 

@if you don’t want AJO to add style breaks,

Just start with email designer (do not import your html as during the import it will add additional styles)

then add an html component and copy-paste your html into it to keep your html structure.

 

thanks,

David



David Kangni

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @Ajo_WisdomChase ,

 

AJO offers a convenient platform for creating email templates and fragments. However, when incorporating custom HTML and CSS code, it's important to be aware of potential compatibility issues.

To avoid compatibility mode, which can limit your design control:

  • Prioritize Inline Styles: Instead of relying on linked stylesheets, use inline CSS styles whenever possible. This ensures consistent styling across various email clients.
  • Ensure Responsiveness: Design your email templates to be responsive, accommodating different devices and email clients.
  • Minimize Custom Code: Keep custom code to a minimum. Excessive complexity can trigger compatibility mode.
  • Maintain Clean HTML: Adhere to best practices for clean, well-structured HTML.

Avatar

Correct answer by
Community Advisor

Hi @Ajo_WisdomChase 

 

@if you don’t want AJO to add style breaks,

Just start with email designer (do not import your html as during the import it will add additional styles)

then add an html component and copy-paste your html into it to keep your html structure.

 

thanks,

David



David Kangni