Form layout issues | Adobe Higher Education
Skip to main content
Level 3
March 30, 2023
Resuelto

Form layout issues

  • March 30, 2023
  • 3 respuestas
  • 3616 visualizaciones

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. 

 

Este tema ha sido cerrado para respuestas.
Mejor respuesta de SanfordWhiteman

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 {

 

3 respuestas

SanfordWhiteman
Level 10
March 30, 2023
We'd need to see the actual page.
Level 3
March 30, 2023
SanfordWhiteman
Level 10
March 31, 2023

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 {