Forked from andrewlimaza/pmpro-members-invoice-adjust-order-print.css
Last active
September 20, 2022 11:54
-
-
Save kimwhite/8b69ca2514d11e92defe994c6dfda6f8 to your computer and use it in GitHub Desktop.
Adjust what is printed for the Paid Memberships Pro Members Invoice page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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