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

Switch the order of two columns in mobile view

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

We have an email with three sections. Each section has a column.

pastedimage1668784342946v1.png

For desktop, it makes sense. In mobile, we need to swap the middle two columns so stacked version is red, green, red, green, red, green.

I have tried so far adding a class, with media tags, visibility: collapse, and it works for the designer view, but not once you send the email.

When sending the email, it seems that the style is not even included in the email, and I can not use inline style with media tag.

Happy to reward 10 USD for a solution that solves the problem, and 30 USD for a solution that is scalable (users can easily add these blocks in the future without opening HTML tab.

  • Suggested answer
    RE: Switch the order of two columns in mobile view

    Hello.

    Currently we are developing a new feature to show and hide section for mobile and/or desktop, which should be available next year.

    Until then, here is a code suggestion using one column section with two tables and right alignment:

    
        
        
        My Email Subject
        
        
        
        
        
        
        
        
        
        
        
    
    
    

    column1

    column2

    column2

    column1

    column1

    column2

    The solution has additional padding styles added for mobile, because in Outlook 50% and 50% with for tables creates issue, but setting 49% and adding the 6px as left padding will align the content on Outlook. And just setting it back to 0 and inner to 10px will make them equal on mobile.

    You can save the HTML as template and reuse it or save the section as Content block and add it to other emails. Just make sure you copy media query style to those emails also.

    But, the best would be to wait for the implementation of the new feature.

    Hope this helps.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans