# Custom form on Webflow site

**URL:** <https://community.hubspot.com/t/custom-form-on-webflow-site/70093>\
**Category:** CMS Development\
**Tags:** forms\
**Created:** [November 28, 2022, 4:19pm UTC](https://community.hubspot.com/t/custom-form-on-webflow-site/70093 "2022-11-28T16:19:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asiaferguson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/asiaferguson/32/61796_2.png) [@asiaferguson](https://community.hubspot.com/u/asiaferguson)\
**Post date:** [November 28, 2022, 4:19pm UTC](https://community.hubspot.com/t/custom-form-on-webflow-site/70093/1 "2022-11-28T16:19:39Z")

</div>

Hello -  
I have a Webflow site that has global styles set for any Hubspot form that appears on it. Unfortunately, those global styles won’t work with a new form that’s been added to the site as it needs to be styled a little bit differently. Basically, the styles set the form to appear in a single row. Works great for the form with only a couple of fields but not so much for this new one that has 3 additional fields (one being a message field).

The only way I can really think of is to remove the global styles from that particular page, but that’s not a viable option.

Is there another way I’m not thinking of? I’m guessing that’s not the case, but as the only developer on my team I could use a sounding board of sorts.

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 29, 2022, 9:36pm UTC](https://community.hubspot.com/t/custom-form-on-webflow-site/70093/2 "2022-11-29T21:36:15Z")

</div>

I’ve never used Webflow but it _looks_ like you can add classes to elements on the page - [https://university.webflow.com/lesson/web-styling-using-classes](https://university.webflow.com/lesson/web-styling-using-classes)  
So you could add a class to the container you put the form in and update the CSS to only put fields in a single row on forms in a container with that custom class. Or if you don’t want to go and update a bunch of forms you can add a custom class to that single form that _doesn’t_ need to be in a single row and add CSS to fix that.
