# HubL template

**URL:** <https://community.hubspot.com/t/hubl-template/106176>\
**Category:** CMS Development\
**Tags:** design-manager\
**Created:** [April 30, 2024, 7:04pm UTC](https://community.hubspot.com/t/hubl-template/106176 "2024-04-30T19:04:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_NH](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@Ben\_NH](https://community.hubspot.com/u/Ben_NH)\
**Post date:** [April 30, 2024, 7:04pm UTC](https://community.hubspot.com/t/hubl-template/106176/1 "2024-04-30T19:04:49Z")

</div>

I’ve created a bespoke HubL / HTML template and whilst it looks great within the page editor, it doesn’t allow me to rearrange the modules or add new modules between modules pre-specified within the code.

From my understanding the modules can share the same section and column but need to use their own row so am I doing something wrong?

```lia-code-sample
<!-- DND Area START -->
 {% dnd_area "dnd_area" label="Main Content" %}
 {% dnd_section %}
 {% dnd_column %}

 {% dnd_row %}
 {% dnd_module path='../Modules/BS_Navigation' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/BS_Hero.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Introduction.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Infocard_Isotope.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Promo_Block.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Sitemap.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Gallery.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Local_Area.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Register_Interest.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Similar_Developments.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% dnd_row %}
 {% dnd_module path='../Modules/Latest_News.module' %}{% end_dnd_module %}
 {% end_dnd_row %}

 {% end_dnd_column %}
 {% end_dnd_section %}
 {% end_dnd_area %} 
 <!-- DND Area END -->

```

---

<div class="post-metadata">

**Author:** ![AnzeKoprivec](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anzekoprivec/32/228791_2.png) [@AnzeKoprivec](https://community.hubspot.com/u/AnzeKoprivec)\
**Post date:** [May 1, 2024, 9:01am UTC](https://community.hubspot.com/t/hubl-template/106176/2 "2024-05-01T09:01:52Z")

</div>

Hi [@Ben\_NH](https://community.hubspot.com/t5/user/viewprofilepage/user-id/722078) ,  
Did you create this template inside a HubSpot theme / are you using the template combined with any existing theme css.  
Its possible you’re missing the CSS needed for the row/column functionality of the D&D area tags. You can find the css in the theme boilerplate in case this is the issue: [cms-theme-boilerplate/src/css/objects at main · HubSpot/cms-theme-boilerplate · GitHub](https://github.com/HubSpot/cms-theme-boilerplate/tree/main/src/css/objects)  
If not, could you send a quick video/screenshots of the problem on the frontend or share a link to a repo with the code.  
Thanks

**If my post helped answer your query, please consider marking it as a solution.**

---

<div class="post-metadata">

**Author:** ![Ben\_NH](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@Ben\_NH](https://community.hubspot.com/u/Ben_NH)\
**Post date:** [May 2, 2024, 10:31am UTC](https://community.hubspot.com/t/hubl-template/106176/3 "2024-05-02T10:31:44Z")

</div>

What a legend! Thank you very much @AnzeKoprivec that fixed the issue perfectly 😀
