Styling Forms in CSS - changing Required Fields | Community
Skip to main content
Level 3
August 21, 2014
Question

Styling Forms in CSS - changing Required Fields

  • August 21, 2014
  • 3 replies
  • 1300 views
Hi

Does anyone have a snippet of CSS which I can edit to change the out the box Marketo 'Required' Field styling?

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

3 replies

Dory_Viscoglio
Level 10
August 21, 2014
.mktoForm .mktoAsterix {
display:none!important;
}

This is what we use in our template to not show the asterisk for required fields. 
August 21, 2014
Looking in Chrome and inspecting the element, I'd look at something like:

.mktoForm .mktoRequiredField label.mktoLabel {
  1. (Your CSS)
}
SarahG1Author
Level 3
August 22, 2014
Great thanks for your help!