Was wondering if anyone has any insight as to why a field on a form is creating styling issues. I cloned a form and when I replace one field with a different value, the layout got skewed. It's a required field, but for some reason they're two asterisks by the field and I can't see why (see screenshot)
We have custom head HTML in the meta and js footer script on the landing page to help with the form styling in general and it usually does the trick . Wondering if it's the page or if the form is the issue.
Solved! Go to Solution.
You‘re hiding the native asterisk container and adding your own via a pseudo-element:
.mktoRequiredField label:after {
content:"*";
margin-left:2px
}
.mktoAsterix {
display:none!important
}
You probably meant to have that only apply to non-empty labels:
.mktoRequiredField label:not(:empty)::after {
You‘re hiding the native asterisk container and adding your own via a pseudo-element:
.mktoRequiredField label:after {
content:"*";
margin-left:2px
}
.mktoAsterix {
display:none!important
}
You probably meant to have that only apply to non-empty labels:
.mktoRequiredField label:not(:empty)::after {