Created
February 16, 2023 06:47
-
-
Save abdulawal39/2db263ff3a2a4108121b781040c6a004 to your computer and use it in GitHub Desktop.
Add custom css to not allowed area of PDF Viewer for WordPress
This file contains 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_action('tnc_pvfw_not_allowed_head', 'themencode_add_custom_css_for_not_allowed'); | |
function themencode_add_custom_css_for_not_allowed(){ | |
echo '<style type="text/css">.pvfw-not-allowed { background-color: white !important; padding: 30px !important;}</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this code to your theme's functions.php file