# Using custom CSS

**URL:** <https://community.hubspot.com/t/using-custom-css/70298>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [November 30, 2022, 6:32pm UTC](https://community.hubspot.com/t/using-custom-css/70298 "2022-11-30T18:32:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJCourt](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@AJCourt](https://community.hubspot.com/u/AJCourt)\
**Post date:** [November 30, 2022, 6:32pm UTC](https://community.hubspot.com/t/using-custom-css/70298/1 "2022-11-30T18:32:44Z")

</div>

Hi all,

New to HubSpot and I’m trying to style my first form with CSS local to my site. I have 2 simple field forms - email address and submit button.

How do I find these using JQuery and change classes to style them?

I’m using bootstrap 5 on my web site.

Thanks

Andrew

---

<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 30, 2022, 8:35pm UTC](https://community.hubspot.com/t/using-custom-css/70298/2 "2022-11-30T20:35:49Z")

</div>

You don’t need to use jQuery. In the form editor go to the “Style & preview” tab and toggle on “Set as raw HTML form”. This will remove any HubSpot styling and allow you to style them purely with CSS in your stylesheet. Here’s an example stylesheet for styling HubSpot forms so you can see some of the classes used - [https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/\_forms.css](https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/_forms.css)

Also, HubSpot uses just regular ol form elements so once set to raw HTML it’ll take on any styling you already have set for form elements (as long as you’re styling the elements themselves and not using custom classes instead).
