Content template — Issue saving mobile version (media queries disappear) | Community
Skip to main content
Level 1
April 15, 2026
Question

Content template — Issue saving mobile version (media queries disappear)

  • April 15, 2026
  • 1 reply
  • 22 views

Hi there,
I've been encountering a bug since yesterday (14/04/26) when editing emails with the email builder.
The changes I made for the mobile version aren't being saved (there's no error message during saving), and I'm losing my formatting work.
I compared the code before and after, and it seems that not all the media queries are present after saving the template.
This is very problematic, any ideas?
Thanks.

1 reply

Level 2
April 15, 2026

Hey ​@Stéphane_Dupas 

 

I’ve encountered something very similar to this in AJO email templates where the format &styles get misaligned when I tried to save the template (with no alerts or errors).

This happened because there were some formatting mistakes in the HTML code itself (Unclosed tags, extra angular brackets). In some rare cases, even having inline attributes or some conditional logics if not properly closed/defined would cause this issue. However, since you mentioned that this happens only for the mobile version, then could it be some conditional logics/unclosed tags cause this issue? In that case, It’s worth checking out the plain template design in a separate IDE.

Additionally, there might be some custom class names that might clash with Adobe’s in-built class names. However, this case is rare as Adobe uses an unique preset of class names. 

Hope this gave you some ideas!

 

Thanks,
Ganesh Kumar

 

Level 1
April 15, 2026

Hi ​@IamCGK,
Thank you very much for your ideas.
Unfortunatly, I also tried with a brand new template from scratch with no custom code at all…
Per example, with just a “two columns” structure filled with texts and buttons, with no stack on mobile, the “no stack” parameter is not saved (no error at saving). 
The template looks good until I quit and return to it.
Best regards,
Stéphane Dupas.

SushantTrimukheD
Level 4
April 15, 2026

Maybe try using a text editor and saving the content in source mode without switching to edit or preview view. Then send the email and see if that resolves the issue.