# Additional CSS for form

**URL:** <https://community.hubspot.com/t/additional-css-for-form/67065>\
**Category:** CMS Development\
**Tags:** forms\
**Created:** [October 13, 2022, 4:01pm UTC](https://community.hubspot.com/t/additional-css-for-form/67065 "2022-10-13T16:01:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergey\_N](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sergey_n/32/1529_2.png) [@Sergey\_N](https://community.hubspot.com/u/Sergey_N)\
**Post date:** [October 13, 2022, 4:01pm UTC](https://community.hubspot.com/t/additional-css-for-form/67065/1 "2022-10-13T16:01:10Z")

</div>

Suddenly, the page has an extra source of css for the forms. How can it be removed?

![Sergey_N_0-1665676846184.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/1/116351f85af02a65521ee78209ff424eb0a4cd06.png)

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [October 13, 2022, 9:16pm UTC](https://community.hubspot.com/t/additional-css-for-form/67065/2 "2022-10-13T21:16:16Z")

</div>

Hi [@Sergey\_N](https://community.hubspot.com/t5/user/viewprofilepage/user-id/262466),

is this form embedded on a HubSpot page or an external page via embed code?

Regardless - If you’re using the embed code you can modify it by adding

`css:""`

to it so it looks like this

```lia-code-sample
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
 hbspt.forms.create({
 region: "na1",
 portalId: "xxxxxxx",
 formId: "xxxxxxxxxx",
 version: "V2_PRERELEASE",
 css: ""
 });
</script>

```

this will prevent the loading of **any additional** CSS.

If you don’t use the embed code check the style-tab in the form. There’s also a toggle in the top left corner to disable any CSS styling.

**Attention: If you disable it and don’t have a global CSS styling in your CSS file, the form will be rendered without styling as long as you don’t turn the function back on.**

best,

Anton
