@Harrison Zap,
Thank you for posting! I agree, the duplicate element approach is definitely a pain when you're trying to keep templates maintainable.
Just a couple questions here:
- Are you using CSS media queries in your templates? That's usually the first place to look. Instead of creating separate HTML elements for mobile and desktop, you can use `@media` queries to hide/show elements or adjust layout based on screen size. This keeps your template code cleaner and means you're editing one element, not two. If your designers are comfortable with a bit of CSS, this cuts down the template bloat significantly.
- Also, how are you structuring your tables? If you're relying on nested tables with fixed widths, that's where a lot of mobile rendering issues come from. Single-column table structures with percentage-based widths tend to reflow much more naturally on mobile without needing workarounds.
That said, there are legitimate scenarios where the design intent really does require different content or layout on mobile versus desktop, and in those cases, the duplicate element approach makes sense. We're always thinking about ways to improve the template editor experience, and while I cannot concretely speak to a roadmap for cleaner mobile optimization, I can certainly provide that feedback internally!
Temi@Klaviyo