Title: Hide specific elements in PDF with css class
Last modified: September 1, 2016

---

# Hide specific elements in PDF with css class

 *  Resolved [f0u](https://wordpress.org/support/users/f0u/)
 * (@f0u)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-elements-in-pdf-with-css-class/)
 * Hi and thank you for a great and really useful plugin!
 * Whould like to highlight a feature i miss in the plugin.
    Possibility to hide
   elements in the pdf when a div have a certain css class like .noprintpdf.
 * [https://wordpress.org/plugins/wp-advanced-pdf/](https://wordpress.org/plugins/wp-advanced-pdf/)

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

 *  Plugin Author [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-elements-in-pdf-with-css-class/#post-7494668)
 * Hello fOu,
 * Thanks for your appreciation.
 * Your suggestion is welcome and soon we will surely add this feature on our next
   release.
 * Please stay connected!
 * Thanks
    CedCommerce
 *  Thread Starter [f0u](https://wordpress.org/support/users/f0u/)
 * (@f0u)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-elements-in-pdf-with-css-class/#post-7494684)
 * really nice =)
 * I get curious, especially as shortcode probably will be implemented to. Any eta
   on next release ?
 *  Plugin Author [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-elements-in-pdf-with-css-class/#post-7494693)
 * Hello again,
 * We have checked and this can be achievable in current version of plugin itslef,
   if you want to hide specific elements in PDF with css class then you can write
   custom css code in WP Advanced PDF Setting > Body > Custom Css textarea.
    For
   ex : If you want to hide elements having class “hide” then add .hide{display:
   none;} in custom css text area then elements having class hide will not shown
   on generated pdf.
 * Thanks
    CedCommerce

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

The topic ‘Hide specific elements in PDF with css class’ is closed to new replies.

 * ![](https://ps.w.org/wp-advanced-pdf/assets/icon-256x256.png?rev=1384838)
 * [WP Advanced PDF](https://wordpress.org/plugins/wp-advanced-pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-advanced-pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-advanced-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-advanced-pdf/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-elements-in-pdf-with-css-class/#post-7494693)
 * Status: resolved