Hide label-Tag for empty Labels in Form

Hide label-Tag for empty Labels in Form

Maha80Maha80 Posts: 30Questions: 10Answers: 1

Hi,

I am working with the standard bootstrap form layout (not horizontal). I use fields without defined label. As empty labels produce leading space for each field, empty labels should be hidden.

How could this be done?

Thank you for your help.

Cheers

Martin

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Hi Martin,

    You could use the following CSS to just hide the labels completely:

    div.DTE_Field > label {
      display: none;
    }
    

    Allan

This discussion has been closed.