# Insert paddings in email

**URL:** <https://community.hubspot.com/t/insert-paddings-in-email/44069>\
**Category:** CMS Development\
**Created:** [September 20, 2021, 1:24pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069 "2021-09-20T13:24:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JThyrestam](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jthyrestam/32/89259_2.png) [@JThyrestam](https://community.hubspot.com/u/JThyrestam)\
**Post date:** [September 20, 2021, 1:24pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/1 "2021-09-20T13:24:43Z")

</div>

Hi, I would like to insert three patterns and still be able to write on top of the text in a drag and drop email. Is there anyone that have a solution on how I can create this? I tried to insert a rich text module and then insert the pattern but I was only able to insert it in the large module not a several rich text modules next to each others.

 ![Skärmavbild 2021-09-20 kl. 15.13.44.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/d11aa23cdc5b7d7fa4c2fc54fc92ead8524977b7.png)

 ![Skärmavbild 2021-09-20 kl. 15.18.13.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/eb99157b3feac02496b39e812730196167bb0841.jpeg)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 20, 2021, 1:51pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/2 "2021-09-20T13:51:57Z")

</div>

@JThyrestam 👋

This seems like an excellent opportunity for creating a custom module!

@Anton , @albertsg , @jonchim any of you willing to take on the challenge of helping here?

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [September 20, 2021, 2:05pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/3 "2021-09-20T14:05:10Z")

</div>

Hi @JThyrestam,

as @dennisedson mentioned: Great(and most likely the only) opportunity for creating a custom email module. 🙂

Before you start: Keep in mind, that most email clients have problems with background stylings and SVGs. Also: You’ll need to write the module in tables.

Something like this should work:

```lia-code-sample
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tbody>
 <tr>
 <td>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tbody>
 <tr> {% for item in module.column %}
 <td background="{{ item.background_image.src }}" bgcolor="{{ item.fallback_background_color.color }}" valign="middle"> 
 <!--[if gte mso 9]>
 <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:33%;">
 <v:fill type="tile" src="{{item.background_image.src }}" color="{{ item.fallback_background_color.color }}" />
 <v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
 <![endif]--> 
 {# start the content of the single column #}
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tbody>
 <tr>
 <td>{{item.content}}</td>
 </tr>
 </tbody>
 </table>
 {# end the content of the single column #} 
 <!--[if gte mso 9]>
 </v:textbox>
 </v:rect>
 <![endif]--> 
 </td>
 {% endfor %}
 {# the repeater for a single column #} </tr>
 </tbody>
 </table>
 </td>
 </tr>
 </tbody>
</table>

```

Haven’t tested it yet but technically it should work

best,

Anton

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 20, 2021, 2:07pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/4 "2021-09-20T14:07:31Z")

</div>

@Anton ,I totally missed the part about this being for an email 🙄.

Removed my bonus points from my post 😉

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [September 20, 2021, 2:27pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/5 "2021-09-20T14:27:55Z")

</div>

But I want some bonus points 😁

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 20, 2021, 2:30pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/6 "2021-09-20T14:30:23Z")

</div>

Keep an eye on your mailbox over the next few weeks 😉

---

<div class="post-metadata">

**Author:** ![jonchim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonchim/32/88818_2.png) [@jonchim](https://community.hubspot.com/u/jonchim)\
**Post date:** [September 20, 2021, 2:34pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/7 "2021-09-20T14:34:42Z")

</div>

can’t compte with @Anton too fast

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 20, 2021, 2:36pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/8 "2021-09-20T14:36:16Z")

</div>

You think he cheated, @jonchim ? I should look into if he should be disqualified. That @Anton is a shifty character 👀

---

<div class="post-metadata">

**Author:** ![jonchim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonchim/32/88818_2.png) [@jonchim](https://community.hubspot.com/u/jonchim)\
**Post date:** [September 20, 2021, 2:46pm UTC](https://community.hubspot.com/t/insert-paddings-in-email/44069/9 "2021-09-20T14:46:30Z")

</div>

😂lol oh yes @dennisedson
