# Edit height on custom module

**URL:** <https://community.hubspot.com/t/edit-height-on-custom-module/59732>\
**Category:** CMS Development\
**Created:** [June 24, 2022, 11:04am UTC](https://community.hubspot.com/t/edit-height-on-custom-module/59732 "2022-06-24T11:04:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSchaupp5](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MSchaupp5](https://community.hubspot.com/u/MSchaupp5)\
**Post date:** [June 24, 2022, 11:04am UTC](https://community.hubspot.com/t/edit-height-on-custom-module/59732/1 "2022-06-24T11:04:02Z")

</div>

Hi,

I was wondering if anyone could help. I’m fairly new to hubspot and don’t know anything about code. I downloaded this custom module that comes with the Ridge email template. It’s a hero banner for marketing emails. I would really like to adjust the height of the banner, within the code, and for the life of me I can’t figure out how to do it?

Apologies if this is the wrong place to post this question and many thanks

\<table cellpadding=“0” cellspacing=“0” border=“0” style=“min-width: 100%; width: 100%;”\>  
\<tr\>  
\<td style=“background-color: {{ module.bg\_color.grad\_color\_1.color }}; background: linear-gradient(135deg, {{ module.bg\_color.grad\_color\_1.color }} 0%,{{ module.bg\_color.grad\_color\_2.color }} 100%); background-size: cover;{% if module.background\_image %} background-image: url(‘{{ module.background\_image.src }}’);{% endif %}” bgcolor=“{{ heroBackgroundColor }}” {% if module.background\_image %}background=“{{ module.background\_image.src }}”{% endif %} valign=“top”\>  
\<!--[if gte mso 9]\>  
\<v:rect xmlns:v=“urn:schemas-microsoft-com:vml” fill=“true” stroke=“false” style=“width: 600px;”\>  
\<v:fill type=“tile” src=“{{ module.background\_image.src }}” color=“#eeeeee” /\>  
\<v:textbox style=“mso-fit-shape-to-text:true” inset=“0,0,0,0”\>  
\<![endif]--\>  
\<div\>  
\<table width=“600” style=“min-width: 100%; width: 100%;”\>  
\<tr\>  
\<td colspan=“3” height=“10”\>\</td\>  
\</tr\>  
\<tr\>  
\<td width=“{{ module.logo.width }}” style=“padding-left: 15px;”\>  
{% if module.logo.src %}  
\<img src=“{{ module.logo.src }}” width=“{{ module.logo.width }}” height=“{{ module.logo.height }}” alt=“{{ module.logo.alt }}”\>  
{% endif %}  
\</td\>  
\<td width=“auto”\>\&nbsp;\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” height=“50”\>\&nbsp;\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” valign=“middle” align=“center” style=“font-family: Georgia, Palatino, Times New Roman, Courier, serif; font-weight: 900; font-size: 30px; color: #ffffff;”\>{{ module.heading }}\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” height=“15” style=“font-size: 0px;”\>\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” valign=“middle” align=“center” style=“font-family: Helvetica, Arial, Verdana, Trebuchet MS, sans-serif; text-align: center; font-weight: 900; font-size: 14px; color: #ffffff;”\>{{ module.subheading }}\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” height=“20” style=“font-size: 0px;”\>\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” valign=“middle” align=“center” style=“text-align: center; font-size: 14px; color: #ffffff;”\>{{ module.cta }}\</td\>  
\</tr\>  
\<tr\>  
\<td colspan=“3” height=“50”\>\&nbsp;\</td\>  
\</tr\>  
\</table\>  
\</div\>  
\<!--[if gte mso 9]\>  
\<p style=“margin:0;mso-hide:all”\>\<o:p xmlns:o=“urn:schemas-microsoft-com:office:office”\>\&nbsp;\</o:p\>\</p\>  
\</v:textbox\>  
\</v:rect\>

\<xml\>  
\<o:OfficeDocumentSettings\>  
\<o:AllowPNG/\>  
\<o:PixelsPerInch\>96\</o:PixelsPerInch\>  
\</o:OfficeDocumentSettings\>  
\</xml\>

\<![endif]--\>  
\</td\>  
\</tr\>  
\</table\>

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 24, 2022, 5:11pm UTC](https://community.hubspot.com/t/edit-height-on-custom-module/59732/2 "2022-06-24T17:11:21Z")

</div>

Hi, @MSchaupp5 👋 Welcome aboard! Let’s see if we can get the conversation started for you — @Anton [@A\_Wessolly](https://community.hubspot.com/t5/user/viewprofilepage/user-id/328782) @Jnix284 do you have any thoughts on how @MSchaupp5 can accomplish their email template goals?

Thank you! — Jaycee

---

<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:** [June 27, 2022, 11:51am UTC](https://community.hubspot.com/t/edit-height-on-custom-module/59732/3 "2022-06-27T11:51:07Z")

</div>

hey @MSchaupp5,

In the ridge hero section module for that email template, it was created using height spacers. I’ve highlighted below in the template that you can edit the lines that have a td tag with a height on it. The value that says 50 can be changed to a number and once you change you should be able to see on the front end the height adjustments. Let me know if that works!

`<td colspan="3" height="50"> </td>`

 ![ridge-hero-section.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/3/13433c1334f5464ca59e70f50f87486645479d98.jpeg)
