How to apply CSS to forms on domain level


#1

Hello,

I’ve added some CSS to Scripts Manager for custom font in the hope that it applies to every page on the domain. It works for most of the font on the LP, however the form field titles aren’t picking up the code. Is there something I can add which will apply the custom font to the form? Adding the CSS to Stylesheets on page level also won’t work. I am using Typekit and have already added the JS to Scripts Manager.

I’ve attached the code I’m currently using below:

/** * Do not remove this section; it allows our team to troubleshoot and track feature adoption. * TS:0001-07-008 */ h1, h1 *, h2, h2 * { font-family: ''proxima-nova', sans-serif } a.lp-pom-button * { font-family: 'proxima-nova', sans-serif } * { font-family: 'proxima-nova', sans-serif }

#2

Hey Kate!

I had the same issue a while back, and it was resolved by simply adding the actual form to your css.

Here is a snippet:

[code]
p, #lp-pom-form-496 {
font-family: ‘Coming Soon’, cursive !important;
font-weight: 400

} [/code]

Let me know if this helps!


#3

Hi Stefano,

Sorry for the delay, thought I had already replied.
Thanks for this, I had some trouble getting it to work and ended up using this code:

* { font-family: 'proxima-nova', Arial, sans-serif !important; }

Thanks again.


#4

Fantastic! Glad you got it to work.