# DWC: Can I use CSS classes in my Campaign based Dynamic Web Content components?

**URL:** https://forum.mautic.org/t/dwc-can-i-use-css-classes-in-my-campaign-based-dynamic-web-content-components/13947
**Category:** Product Support
**Tags:** discussion
**Created:** [April 17, 2020, 1:35pm UTC](https://forum.mautic.org/t/dwc-can-i-use-css-classes-in-my-campaign-based-dynamic-web-content-components/13947 "2020-04-17T13:35:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)
#### Post date: [April 17, 2020, 1:35pm UTC](https://forum.mautic.org/t/dwc-can-i-use-css-classes-in-my-campaign-based-dynamic-web-content-components/13947/1 "2020-04-17T13:35:21Z")

</div>

**Your software**  
My Mautic version is: 2.16.1  
My PHP version is: 7.2

**Your problem/question**  
My problem is: When I add HTML with CSS classes to the DWC they get replaced with ‘fr-original-class’ and therefore the style is not applied.

## These errors are showing in the log:

Steps I have tried to fix the problem:

Original HTML

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d32b2f017568d9ab02e5f6efb190c4127a169dd5.png)

Resulting HTML

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/63f072115325b8b6d38f117118f21c1a51f67f35.png)

Can I somehow keep the classes?

Thanks

---

<div class="post-metadata">

### Author: ![pwned555](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pwned555/32/3848_2.png) [@pwned555](https://forum.mautic.org/u/pwned555)
#### Post date: [January 8, 2021, 7:48pm UTC](https://forum.mautic.org/t/dwc-can-i-use-css-classes-in-my-campaign-based-dynamic-web-content-components/13947/2 "2021-01-08T19:48:47Z")

</div>

I have the same issue, unsure how to keep original formatting and it’s very annoying.
