Form custom css not working on website | Community
Skip to main content
New Participant
May 6, 2021
Question

Form custom css not working on website

  • May 6, 2021
  • 1 reply
  • 1422 views

Does anyone know why custom css added to a form wouldn't work when the form is embedded on the website? It is working when I previewed it in Marketo. I used some custom css to horizontally align the radio buttons on a form, but when the embed code is placed on the website, the radio buttons revert back to being vertical. Any ideas? Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Dave_Roberts
New Participant
May 6, 2021

There's usually some conflict between the CMS stylesheet and the Marketo Forms styling - usually it's got something to do with the "strength" of the selector you're using. In most modern CMSs that I've seen, the CSS is written too specifically when it's compiled that you end up having to override it with even more specific selectors than you'd think you'd have to.

 

Could you post a link to the page where the radio is NOT showing up as you'd expect on the site? I'd be happy to take a look and see if I can help figure out a solution here.