Solved

How to apply CSS to forms on domain level


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 }
icon

Best answer by Stefano 10 May 2017, 15:42

View original

3 replies

Userlevel 7
Badge +4

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!

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.

Userlevel 7
Badge +4

Fantastic! Glad you got it to work.

Reply