Styling Forms in CSS - changing Required Fields

Highlighted
Level 3

Styling Forms in CSS - changing Required Fields

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
Highlighted

Re: Styling Forms in CSS - changing Required Fields

.mktoForm .mktoAsterix {
display:none!important;
}

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

Re: Styling Forms in CSS - changing Required Fields

Looking in Chrome and inspecting the element, I'd look at something like:

.mktoForm .mktoRequiredField label.mktoLabel {
  1. (Your CSS)
}
Highlighted
Level 3

Re: Styling Forms in CSS - changing Required Fields

Great thanks for your help!