# Extra Classes Parameter Ignored

**URL:** <https://community.hubspot.com/t/extra-classes-parameter-ignored/2371>\
**Category:** CMS Development\
**Created:** [June 13, 2017, 5:45pm UTC](https://community.hubspot.com/t/extra-classes-parameter-ignored/2371 "2017-06-13T17:45:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tstrack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tstrack/32/74736_2.png) [@tstrack](https://community.hubspot.com/u/tstrack)\
**Post date:** [June 13, 2017, 5:45pm UTC](https://community.hubspot.com/t/extra-classes-parameter-ignored/2371/1 "2017-06-13T17:45:48Z")

</div>

When I add the extra\_classes parameter to a module inside of a Flexible Column it’s ignored.

```auto
{% widget_container "main_content_wrapper" %}
 {% image "offer_image" label="Offer Image", alt="Offer Image", src="//placehold.it/768x240", extra_classes="mb-30" %}
{% end_widget_container %}

```

It works fine outside of the Flexible Column.

`{% image "offer_image" label="Offer Image", alt="Offer Image", src="//placehold.it/768x240", extra_classes="mb-30" %}`

Any ideas as to why? Is it not possible?

---

<div class="post-metadata">

**Author:** ![DaniellePeters](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/daniellepeters/32/6115_2.png) [@DaniellePeters](https://community.hubspot.com/u/DaniellePeters)\
**Post date:** [June 13, 2017, 9:21pm UTC](https://community.hubspot.com/t/extra-classes-parameter-ignored/2371/2 "2017-06-13T21:21:45Z")

</div>

Since it’s a flexible column, anything that you add on the template level is just a blueprint and can be removed and replaced with some other module on the page editor level. You cannot add classes to modules within flexible columns since they may or may not actually make it to the live page.

---

<div class="post-metadata">

**Author:** ![tstrack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tstrack/32/74736_2.png) [@tstrack](https://community.hubspot.com/u/tstrack)\
**Post date:** [June 15, 2017, 6:19pm UTC](https://community.hubspot.com/t/extra-classes-parameter-ignored/2371/3 "2017-06-15T18:19:33Z")

</div>

That makes sense. Thanks for the clarification!

---

<div class="post-metadata">

**Author:** ![adriancblack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adriancblack/32/13521_2.png) [@adriancblack](https://community.hubspot.com/u/adriancblack)\
**Post date:** [January 20, 2021, 5:01pm UTC](https://community.hubspot.com/t/extra-classes-parameter-ignored/2371/4 "2021-01-20T17:01:55Z")

</div>

Still, let that be my problem, i mean the developers problem. I need to a) stop the weapper from rendering on the live site or b) an option to add extra class regardless if inside flexible column or not.  
Becase of this i now have to write a buch of javascript to inject/unwrap when i coud’ve literaly be done with it wit just 2 css properties. literaly 2 properties. Unaccepted solution
