web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Email design not longer stacked

(0) ShareShare
ReportReport
Posted on by 160

Hi all,

seems like there has been an update to the html code for the emails. But after this update my email is no longer stacked in mobile view.

Do any of you know how to fix this?

Thanks!

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at

    Hi Filippa,

    I’d like to know more about the meaning of “stacked in mobile view”. Would you please to describe it more specifically? It would be appreciated if you could attach some screenshots.

     

    If the issue is caused by the new editing experience, you can try to switch the designer into the old one.

     pastedimage1620718722911v1.png

    If you cannot find the entrance of the drop-down list, you can just remove the New editing experience form from the App Designer of Marketing and publish it.

     pastedimage1620718727411v2.png

    Also, if it is confirmed that the problem occurs in the new version, I suggest that you create a ticket for MS to resolve it.

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Filippa f Profile Picture
    160 on at

    Hi Nya,

    Thank you! I have the new update. 

    For example:

    Unknown.png

    Here is an example. It gets smaller and two columns are not stacking. I have done nothing else with the code. Think that there has been an update of the code as well? But how do you fix this?

  • Suggested answer
    Nya Profile Picture
    29,060 on at

    Hi,

    In the latest version, when add a column into the designer, there will be a section containing the column, which does not exist in the old version.

     pastedimage1620871485354v1.png

    In your screenshot, it seems that you added a background color for the whole section or column which contain the text “Test”. And there is a margin between the image itself and the column. So it will be relatively wider than the other components.

     pastedimage1620871494613v2.png

    Please try to adjust the range of the background color.

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Filippa f Profile Picture
    160 on at

    I've created like 10 different emails and none of them get stacked when opened on mobile. I've made sure the whole section is colored or the image takes up the whole space. Nothing seems to work...

  • alemieux69 Profile Picture
    2 on at

    I'm experiencing the same. I've tried adding styles to circumvent this in my media query, but since all of the inline styles are set to !important, they don't do anything. Example:

    table style="width: 100%; border-collapse: collapse;" class="containerWrapper tbContainer multi" cellpadding="0" cellspacing="0" border="0">
                              
                                
                                  
                                  
    Woman looking at cell phone in the street

    Inflation: making us second guess our upcoming toner purchase

    Did you know 38% of consumers are considering buying less beauty in the next six months due to inflation? 

    Read more to learn how inflation is impacting the beauty shopper intent.

    And can anyone make rhyme or reason for all of the classes that Dynamics puts into the tables and divs? There has to be a guide somewhere for this?

  • lml_Timo_lml Profile Picture
    5 on at

    I have the same problem when using images with a set height and width in the template. On desktop they are automatically assigned an inline style="width: 200px !important;" when switching to mobile view, the !important overrides anything you write in the media query, no matter if I also add 'width:100%!important;' in the classname. This caused any image to always be the size chosen in the content block, also in mobile view, which does not look very good.

    Trying to bypass this by uploading images in the exact size, ex. 200px with "auto width" toggled "On" in the settings, caused images to be pixelated in mobile view, as the media query stated "width: 100%;" and just stretched the images to fit the media size.

    The solution I found was to add two classes for each image on the img tag in the content block HTML, ex. an image of 200 width got these two classes:


    I then added, in the HTML of the Email template, one class called:

                .img-200 {
                    width: 200px;
                    height: auto;
                }

    And another class under the preferred media query section called:

    @media only screen and (max-width: 500px) {
    
                .mobile-imgfull {
                    margin: auto !important;
                    width: 100% !important;
                    height: auto !important;
                }
    
    }


     
    Then I uploaded the images in a format twice the size we needed, ex. an image set to 200x200 in the template is originally made as 400x400.

    It doesn't look right in the content block itself, as the code is set in the main email template, but it seems to work when dragging the block into the template.

    This fixes the issue by inserting images that are in a higher resolution, which in turn will look good when stretched to 100% width on mobile.

    Hope this can help others too

    Cheers! /Timo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans