Title: hide labels
Last modified: August 31, 2016

---

# hide labels

 *  [sailpilot](https://wordpress.org/support/users/sailpilot/)
 * (@sailpilot)
 * [10 years ago](https://wordpress.org/support/topic/hide-labels/)
 * Is there a way not to display the field label if there is no data for that field
   on the single record output?
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years ago](https://wordpress.org/support/topic/hide-labels/#post-7198263)
 * 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](https://wordpress.org/support/users/sailpilot/)
 * (@sailpilot)
 * [10 years ago](https://wordpress.org/support/topic/hide-labels/#post-7198307)
 * 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.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [hide label](https://wordpress.org/support/topic-tag/hide-label/)

 * 2 replies
 * 2 participants
 * Last reply from: [sailpilot](https://wordpress.org/support/users/sailpilot/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/hide-labels/#post-7198307)
 * Status: not resolved