# Email builder not working on custom template

**URL:** https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922
**Category:** Product Support
**Created:** [December 20, 2016, 9:11pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922 "2016-12-20T21:11:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)
#### Post date: [December 20, 2016, 9:11pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/1 "2016-12-20T21:11:24Z")

</div>

I have cloned the Oxygen theme and made a couple of basic customisations but even though I am now able to edit the content block that are in the template I am not able to add any new content blocks.  
  
I have looked through the code and compared against the Oxygen original but after two hours I cannot see what could be blocking it. I have added to gist on Github here: [https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7](https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7)  
  
  
  
Any advice most welcome.

---

<div class="post-metadata">

### Author: ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)
#### Post date: [December 20, 2016, 9:11pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/2 "2016-12-20T21:11:24Z")

</div>

I have cloned the Oxygen theme and made a couple of basic customisations but even though I am now able to edit the content block that are in the template I am not able to add any new content blocks.  
I have looked through the code and compared against the Oxygen original but after two hours I cannot see what could be blocking it. I have added to gist on Github here: [https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7](https://gist.github.com/BatchHeader/30c1b5eec48a120df4300062df9760b7)

Any advice most welcome.

---

<div class="post-metadata">

### Author: ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)
#### Post date: [December 27, 2016, 4:51pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/3 "2016-12-27T16:51:07Z")

</div>

Anyone?

Are there any dev docs for building templates?

---

<div class="post-metadata">

### Author: ![chris0928](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris0928/32/118_2.png) [@chris0928](https://forum.mautic.org/u/chris0928)
#### Post date: [December 27, 2016, 5:02pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/4 "2016-12-27T17:02:23Z")

</div>

Hey @nbatch. What specifically are you hoping to add – are you trying to drag new “slots” (text, image, etc) into your email using the builder?

I copied your code and was able to drag new text blocks (“slots”) using the builder into the areas around your existing slots. You can’t drop new slots _inside_ existing slots, but I was also able to insert new rows within the existing slots. It all seemed to be working for me.

I’ve spent a lot of time working on custom email templates for Mautic and I will say that getting them so they are easy to customize and add/remove sections just using the builder can be a bit tricky.

---

<div class="post-metadata">

### Author: ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)
#### Post date: [December 30, 2016, 12:25pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/5 "2016-12-30T12:25:17Z")

</div>

@chris0928 Thanks for having a look. That’s really weird, but now all working.

After your comment I went back into the same email but still couldn’t add any new slots. I changed the template to Oxygen, then back to custom and everything worked.

Thanks again for your time.

---

<div class="post-metadata">

### Author: ![chris0928](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris0928/32/118_2.png) [@chris0928](https://forum.mautic.org/u/chris0928)
#### Post date: [December 30, 2016, 1:28pm UTC](https://forum.mautic.org/t/email-builder-not-working-on-custom-template/6922/6 "2016-12-30T13:28:54Z")

</div>

@nbatch nice 🙂
