Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kimwhite/8b69ca2514d11e92defe994c6dfda6f8 to your computer and use it in GitHub Desktop.
Save kimwhite/8b69ca2514d11e92defe994c6dfda6f8 to your computer and use it in GitHub Desktop.
Adjust what is printed for the Paid Memberships Pro Members Invoice page
/**
* Add this code to your WordPress Customizer under "Additional CSS".
* Tweak the CSS on both areas to hide and show certain elements when printing the Members Invoice.
*/
@media print {
/** Hide stuff when printing **/
.pmpro-invoice .site-header, .pmpro-invoice .pmpro_actions_nav, .pmpro-invoice footer {
display:none;
}
.elementor-social-icons-wrapper.elementor-grid {
display: none;
}
/** Only show this to print, tweak to only print certain ID's or classes on the page **/
.pmpro_invoice_wrap {
display: block;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment