Support » Plugin: Participants Database » Not showing field labels with empty content

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    If you look at the HTML, you’ll see that empty elements have a classname that you can use to hide empty fields. For instance, you’ll see HTML something like this on an empty field:

    <dl class="pdb-password password blank-field">  
      <dt class="password blank-field">Password</dt>
      <dd class="password blank-field"></dd>
    </dl>

    So, you could use a CSS rule something like this:

    dl.blank-field {
      display: none;
    }

    Now, that may not be what you want, and it may not even work in your case, but that’s the general idea.

    The plugin has a place to put custom CSS rules like that under the “custom CSS” tab.

    Oh, perfect. Yes, this should work.

    • This reply was modified 2 years, 1 month ago by nrtdesign.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not showing field labels with empty content’ is closed to new replies.