# Using groups or groups workarounds in drag & drop templates

**URL:** <https://community.hubspot.com/t/using-groups-or-groups-workarounds-in-drag-drop-templates/23244>\
**Category:** CMS Development\
**Created:** [July 22, 2020, 1:38pm UTC](https://community.hubspot.com/t/using-groups-or-groups-workarounds-in-drag-drop-templates/23244 "2020-07-22T13:38:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelWallis1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/michaelwallis1/32/82448_2.png) [@MichaelWallis1](https://community.hubspot.com/u/MichaelWallis1)\
**Post date:** [July 22, 2020, 1:38pm UTC](https://community.hubspot.com/t/using-groups-or-groups-workarounds-in-drag-drop-templates/23244/1 "2020-07-22T13:38:53Z")

</div>

Hi everyone

We are currently trying to convert a set of templates into a theme.

In the design manager you are able to utilise groups as a way to add wrapping classes, as in the example below:

 ![29524i99C2CB89D3A00996.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/a/5abb0c33da0ebb4887fb6e9846944398f9193ee0.png)

You can see classes like .o-section, .o-container and .o-container\_\_item are used for our HTML & CSS structure. However when I convert this over to themes we get something that looks more like the following:

 ![29525iE474ACBD88138B47.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/8/f8dc32c88df3df7e6d7f7b267b96cfb7813ccd89.jpeg)

I’m hoping there is a way we can add CSS classes to things like rows or modules, or some other workaround that would allow us to keep our HTML structure the same.

If this isn’t possible this means we would need to rewrite a very large amount of code to convert the UI over, which we would obviously like to avoid.

---

<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:** [July 22, 2020, 3:39pm UTC](https://community.hubspot.com/t/using-groups-or-groups-workarounds-in-drag-drop-templates/23244/2 "2020-07-22T15:39:07Z")

</div>

Hi @MichaelWallis1

I belive you have to wrap that dnd\_section in a dnd\_area and then define class within there. Not sure you can apply the class to the section, row, or column but worth a shot folllowing the below format.

It would just read {% dnd\_area “unique\_name”, class=“Classname” %}
