# Email stacking order on mobile devices

**URL:** <https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816>\
**Category:** Email Marketing Tool\
**Tags:** marketing, free, marketing-email\
**Created:** [November 23, 2022, 3:56am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816 "2022-11-23T03:56:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKubrin9](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akubrin9/32/196959_2.png) [@AKubrin9](https://community.hubspot.com/u/AKubrin9)\
**Post date:** [November 23, 2022, 3:56am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/1 "2022-11-23T03:56:52Z")

</div>

Hello, HS Community,

I’m having some trouble with the way an email newsletter displays on mobile devices.

The stacking order is off. Instead of alternating elements (image, entry, image, entry), I get image, entry, image, image, entry, entry.

The desktop email newsletter looks fine.

Is there a way to control the stacking order of elements on mobile devices?

Thank you all.

AK

---

<div class="post-metadata">

**Author:** ![Jasbir\_Kaur](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jasbir\_Kaur](https://community.hubspot.com/u/Jasbir_Kaur)\
**Post date:** [November 23, 2022, 11:05am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/2 "2022-11-23T11:05:52Z")

</div>

Hi @AKubrin9,

Yes, we can change the stacking order in mobile by using direction. Could you please share the coding or screenshot so that I can let you know how exactly you can do the same?

Thanks!

Jasbir

---

<div class="post-metadata">

**Author:** ![AKubrin9](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akubrin9/32/196959_2.png) [@AKubrin9](https://community.hubspot.com/u/AKubrin9)\
**Post date:** [November 24, 2022, 4:58am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/3 "2022-11-24T04:58:05Z")

</div>

Hi Jasbir,

I took screenshots from my phone, then assembled the pieces into this diagram, and numbered the pieces.

I hope it is clear. Basically, items 3 and 4 are out of order. Reverse them, and all will be well.

How can I do that?

Thanks, and best regards,

Akubrin

 ![Screenshot 2022-11-23 at 9.54.17 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/6/662aa634d8d18d0db2ff7ec9068f280972cb02e8.jpeg)

---

<div class="post-metadata">

**Author:** ![Jasbir\_Kaur](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jasbir\_Kaur](https://community.hubspot.com/u/Jasbir_Kaur)\
**Post date:** [November 24, 2022, 7:18am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/4 "2022-11-24T07:18:19Z")

</div>

Hi Akubrin,

I am understanding your concern, actually you have to apply Dir in the columns to reverse them.

In the mobile left column always comes at the top position, so you have to create your 2-Col section as per the mobile layout means which section you want to keep at the top in the mobile you have to keep that section on the left side and using this direction property you can manage your desktop layout, please refer to the attached screenshot.

If this is not clear you can share your code with me, I will add the dir property in your code.

 ![Untitled.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/0ffd6409e7983e32123eafaef7d7cd51fda4b622.png)

Thanks!

Jasbir

---

<div class="post-metadata">

**Author:** ![AKubrin9](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akubrin9/32/196959_2.png) [@AKubrin9](https://community.hubspot.com/u/AKubrin9)\
**Post date:** [November 24, 2022, 7:43am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/5 "2022-11-24T07:43:40Z")

</div>

Hi Jasbir,

I’m beginning to understand. But how do I access the code? I am using the free Marketing hub. I don’t even see a way to edit or export code.

Thank you!

Andy

---

<div class="post-metadata">

**Author:** ![Jasbir\_Kaur](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jasbir\_Kaur](https://community.hubspot.com/u/Jasbir_Kaur)\
**Post date:** [November 24, 2022, 8:35am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/6 "2022-11-24T08:35:56Z")

</div>

Hi @AKubrin9,

This needs to be done on the backend level.

From Marketing → Files and Template → Design Studios you can access your code.

Thanks!

Jasbir

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [August 20, 2024, 4:15am UTC](https://community.hubspot.com/t/email-stacking-order-on-mobile-devices/69816/7 "2024-08-20T04:15:13Z")

</div>

Hi @AKubrin9,

Great news, there is now a (private) beta for this 🙂

> Marketing Email
> 
> ### Mobile Optimised Email
> 
> August 16, 2024
> 
> ### **What is it?**
> 
> You can now optimise your marketing emails for mobile, enhancing your end recipient experience, improving engagement rates, and ultimately drive higher conversions.
> 
> This rollout provides the ability to hide modules and sections on both mobile and desktop, as well as changing the layout and disable automatic column stacking on mobile.
> 
> ### **Why does it matter?**
> 
> Mobile devices are an increasingly popular way for customers to view email campaigns, meaning it’s now more important than ever to design with mobile devices in mind.
> 
> The new Mobile Editor for Marketing Email will enhance the email editing experience that visualises how and where more receipients are opening their emails.
> 
> ### **How does it work?**
> 
> To customise which modules or sections appear for desktop or mobile recipients:
> 
> - In your HubSpot account, navigate to **Marketing** \> **Marketing Email**.
> - Click the **name** of a drafted email, or click **Create email** in the top right to [create a new email](https://knowledge.hubspot.com/marketing-email/create-marketing-emails-in-the-drag-and-drop-email-editor?hubs_content=knowledge.hubspot.com/marketing-email/optimize-your-marketing-email-for-mobile-devices&hubs_content-cta=create%20a%20new%20email#create-a-new-email).
> - Click the desktop **desktop icon** or mobile **mobile icon** at the top of the email editor to view and configure the settings for each device type.

 ![karstenkoehler_3-1724127812322.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/6fbcca1aa2f9552a4f56a0d83b21bec0a253a5b1.png)

> - Hover over a module or section and click the hide **hide icon** to hide that module in the version of the email you’re editing.
> - To show all hidden modules for a version you’re editing, click **Show all hidden** at the top of the email editor.
> 
> To configure different column layout settings between mobile and desktop devices:
> 
> - Click one of the **email sections**.
> - In the _Layout_ section in the left pane, toggle the **All devices** switch off, then configure the column layout for Desktop and the stacking layout for mobile.

 ![karstenkoehler_5-1724127099334.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/4/f4aa8da7f80ccf343f32c9e4fc17412ea67209ca.png)

> ### **Who gets it?**
> 
> Marketing Pro, Marketing Enterprise
> 
> ### **Learn More:**
> 
> [Join the discussion on our Community](https://community.hubspot.com/t5/HubSpot-Ideas/Desktop-vs-Mobile-Email-Layout/idi-p/302794)  
> [Learn more on the Knowledge Base](https://knowledge.hubspot.com/marketing-email/optimize-your-marketing-email-for-mobile-devices)
> 
> * * *

The beta can be found here:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/2/9284e8352f82f56c712355a72b9a917151a0b652.png)

If you’re not seeing it yet, you’ll have to be patient for a bit longer or reach out to your customer success manager – but it’s on its way 🙂

Best regards!
