# Marketing templates bug.

**URL:** <https://community.hubspot.com/t/marketing-templates-bug/78699>\
**Category:** CMS Development\
**Tags:** design-manager, email, free, html, professional, enterprise\
**Created:** [April 4, 2023, 4:19pm UTC](https://community.hubspot.com/t/marketing-templates-bug/78699 "2023-04-04T16:19:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSygut4](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@TSygut4](https://community.hubspot.com/u/TSygut4)\
**Post date:** [April 4, 2023, 4:19pm UTC](https://community.hubspot.com/t/marketing-templates-bug/78699/1 "2023-04-04T16:19:15Z")

</div>

Hi !

I’ve found bug with marketing templates.

```lia-code-sample
<!--
 templateType: email_backup_unsubscribe_page
 isAvailableForNewContent: true
 label: DE-CIX Email Unsubscribe
 -->
 {% extends "../layouts/base.html" %}
{% set header = "simple" %}
 {% block body %}
 <section class="test">
 {% module "email_backup_unsubscribe_page_template_backup_unsubscribe" path="@hubspot/email_simple_subscription" label="Backup Unsubscribe"
 header="Test" %}
 </section>
 {% endblock body %}

```

and preferences template

```lia-code-sample
<!--
 templateType: email_subscription_preferences_page
 isAvailableForNewContent: true
 label: DE-CIX Subscription Preferences
 -->
 {% extends "../layouts/base.html" %}
{% set header = "simple" %}
 {% block body %}
 <section class="email-pref bg-circles">
 <div class="container">
 {% module "email_subscription_preferences_page_template_subscription_preferences" path="@hubspot/email_subscriptions" label="Subscription Preferences"
 button_text="UPDATE NOW"
 %}
 </div>
 <div class="date-comp-name"><p>2023 DE-CIX</p></div>
 </section>
 <script src="/hs/hsstatic/SubscriptionPreferences/static-1.1/subscription_preferences_asset.js"></script>
 {% endblock body %}

```

Everything is set correctly:

 ![TSygut4_0-1680624729236.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/1/216443cc1db0736f3d1944a5096b856b8d22fed9.png)

Now live page html:

- Preferences.

 ![TSygut4_1-1680624792430.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/b/9b4f369075f7985498c24b8aa38363999a43c40b.png)

and unsubscribe template

 ![TSygut4_2-1680624850951.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/f/efb856a0d5f2e7edc0e9702c81f3bdf1ca056360.jpeg)

As you can see, in both cases page render preferences template html with bg-circles and email-prefs classes. I can’t change title of unsubscribe page and layout, anything.If I’ll add random text in preferences html, it will appear also in unsubscribe template. Am I dumb or it’s badly programmed ?

[https://26876334.hubspotpreview-eu1.com/\_hcms/preview/email/65057322458?portalId=26876334&preview\_key=EkEurmRl&\_preview=true&from\_buffer=false&cacheBust=0](https://26876334.hubspotpreview-eu1.com/_hcms/preview/email/65057322458?portalId=26876334&preview_key=EkEurmRl&_preview=true&from_buffer=false&cacheBust=0)

You can test it in above link.

How can I make a completely different layout in unsubscribe template. If I can’t why we need 3 email templates?

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [April 4, 2023, 4:51pm UTC](https://community.hubspot.com/t/marketing-templates-bug/78699/2 "2023-04-04T16:51:07Z")

</div>

The first thing I’d point out is that this appears to be a custom made template, so perhaps you should be reaching out to the developer of the theme.

Secondly, I honestly don’t think you’ve found a bug. For one thing the labels of the templates you posted don’t seem to match any of the templates you’ve selected in the Subscriptions settings.

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)
