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

    (@xnau)

    If you look at the HTML, you’ll see that fields with no values are wrapped with a class “blank-field” so you can hide them with CSS like this:

    .blank-field {
        display: none;
    }

    You can put this in the plugin settings under “custom CSS”

    Thread Starter sailpilot

    (@sailpilot)

    Thanks. It appears to work for the text fields but we added a field for a photo and that one still shows the label even though there is no photo inserted for the record. We deleted the default image in the settings but it does not appear to make a difference.

    Here is the html code that displays when I view the source:

    <dl class="pdb-site_photo image-upload image-blank-field"> <dt class="site_photo image-blank-field">Site Photo</dt> <dd class="site_photo image-blank-field"><span class="image-field-wrap no-image pdb-image image-field-wrap"></span></dd> </dl>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide labels’ is closed to new replies.