CMS Development

APATNI
Member

CSS not loading

SOLVE

I have made a hubspot form and it has some default styles but when I'm using that form in NextJs app only plain HTML from is rendering no css is being applied why?
Can anyone help?
This is how the form is loading no CSS is getting applied .
Screenshot 2024-03-21 at 6.47.02 PM.png

1 Accepted solution
felixmacaspac
Solution
Contributor

CSS not loading

SOLVE

Hi @APATNI make sure that you disable the "set as raw HTML form" option in the form style & preview, because if this option is enabled it will remove all the default styling of the form.

you can check more details regarding this one here

felixmacaspac_0-1711027903205.png

 

View solution in original post

0 Upvotes
2 Replies 2
GRajput
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

CSS not loading

SOLVE

Hi   

You need to enable set as Raw HTML in your form settings. Here is a doc to guide you on how to do that.

 

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

@APATNI




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


felixmacaspac
Solution
Contributor

CSS not loading

SOLVE

Hi @APATNI make sure that you disable the "set as raw HTML form" option in the form style & preview, because if this option is enabled it will remove all the default styling of the form.

you can check more details regarding this one here

felixmacaspac_0-1711027903205.png

 

0 Upvotes