Styling Forms in CSS - changing Required Fields

Sarah_Greig2
Level 3
Hi

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

Sarah
Tags (1)
3 REPLIES 3
Sarah_Greig2
Level 3
Great thanks for your help!
Anonymous
Not applicable
Looking in Chrome and inspecting the element, I'd look at something like:

.mktoForm .mktoRequiredField label.mktoLabel {
  1. (Your CSS)
}
Dory_Viscoglio
Level 10
.mktoForm .mktoAsterix {
display:none!important;
}

This is what we use in our template to not show the asterisk for required fields.