Gravity Forms CSS Location

Hi Team,

  1. I have a simple contact form I’ve created in Gravity Forms. I have written CSS to style the form. This form appears on multiple pages, but not all pages. Where is the best place to put the CSS for the form in terms of site speed? Currently I have it on the form element on each page it appears on. Would it be better in the Global CSS? The page CSS?

  2. hypothetically speaking if the form was on every page then would it be best to put it in Global CSS?

Thanks!!

Ashley

Hello @texaskiwi13,

Thank you for the inquiry.

You can add the css in the Custom > Global CSS field if the form is used on multiple pages. If you only need it for specific pages, add it in the Page CSS field. The impact on site speed might be minimal unless it’s a really extensive style modification.

Best regards,
Ismael

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.