# Custom css classes on unstyled forms

**URL:** <https://community.hubspot.com/t/custom-css-classes-on-unstyled-forms/14617>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [June 3, 2019, 4:11am UTC](https://community.hubspot.com/t/custom-css-classes-on-unstyled-forms/14617 "2019-06-03T04:11:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markomessente](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/markomessente/32/98997_2.png) [@markomessente](https://community.hubspot.com/u/markomessente)\
**Post date:** [June 3, 2019, 4:11am UTC](https://community.hubspot.com/t/custom-css-classes-on-unstyled-forms/14617/1 "2019-06-03T04:11:26Z")

</div>

Hi!

Is it possible to define css classes for form fields (and their surrounding div wrappers)? We’re using bootstrap styles for all our forms and it would be quite inconvenient to copy-paste styles with bootstrap element class names to also match hubspot element class names.

The perferct solution would be if I can assign a class to input/div elements and our general styling is just applied to all hubspot forms as well.

---

<div class="post-metadata">

**Author:** ![Bryantworks](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bryantworks/32/94963_2.png) [@Bryantworks](https://community.hubspot.com/u/Bryantworks)\
**Post date:** [June 3, 2019, 12:55pm UTC](https://community.hubspot.com/t/custom-css-classes-on-unstyled-forms/14617/2 "2019-06-03T12:55:46Z")

</div>

Hey @markomessente

This isn’t possible for the time being, you do have to do a bit of copy paste. [Here’s](https://designers.hubspot.com/docs/cos/hubspot-form-markup) a great resource that should help you do it a bit faster.

---

<div class="post-metadata">

**Author:** ![markomessente](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/markomessente/32/98997_2.png) [@markomessente](https://community.hubspot.com/u/markomessente)\
**Post date:** [June 4, 2019, 1:58am UTC](https://community.hubspot.com/t/custom-css-classes-on-unstyled-forms/14617/3 "2019-06-04T01:58:52Z")

</div>

That’s unfortunate. Thanks for the response!
