# Add filter to remove '\_wrapper' from CSS class names

**URL:** <https://community.gravityforms.com/t/add-filter-to-remove-wrapper-from-css-class-names/6591>\
**Category:** Feature Requests\
**Tags:** bootstrap, css\
**Created:** [October 23, 2020, 9:31am UTC](https://community.gravityforms.com/t/add-filter-to-remove-wrapper-from-css-class-names/6591 "2020-10-23T09:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocouno](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/ocouno/32/2162_2.png) [@ocouno](https://community.gravityforms.com/u/ocouno)\
**Post date:** [October 23, 2020, 9:31am UTC](https://community.gravityforms.com/t/add-filter-to-remove-wrapper-from-css-class-names/6591/1 "2020-10-23T09:31:35Z")

</div>

If you add a CSS class name in the form settings it adds the suffix ‘ **\_wrapper** ’ to every class

When using Bootstrap I just want to add classes to the wrapper without this adding ‘ **\_wrapper** ’ to the end of the name as it is pointless as it means I need to then add a an extra CSS class for this

So if I say don’t want a margin on the bottom and I add ‘ **mb-0** ’ it actually adds a class of ‘ **mb-0\_wrapper** ’ which means I have to write a new class as I can’t use predefined classes

So if you could add a filter to be able to turn off this so it accepts the classes I enter, not modify them to something I don’t want

Many thanks  
Andy

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 23, 2020, 5:35pm UTC](https://community.gravityforms.com/t/add-filter-to-remove-wrapper-from-css-class-names/6591/2 "2020-10-23T17:35:22Z")

</div>

Hello ocouno. The markup will be changing in Gravity Forms 2.5 (which is in beta now) and I will add this issue to see if it can be addressed after Gravity Forms 2.5 is released. Thank you.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [July 29, 2021, 1:58pm UTC](https://community.gravityforms.com/t/add-filter-to-remove-wrapper-from-css-class-names/6591/3 "2021-07-29T13:58:17Z")

</div>


