Skip to content

Instantly share code, notes, and snippets.

@nathaningram
Created February 9, 2023 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathaningram/c214187b2149cf97241e13d4e517f69b to your computer and use it in GitHub Desktop.
Save nathaningram/c214187b2149cf97241e13d4e517f69b to your computer and use it in GitHub Desktop.
Add Stye to iThemes Security Captcha Agree Box
// Add Style to iTSec Captcha Agree Text
function bww_itsec_captcha_style() { ?>
<style type="text/css">
.itsec-recaptcha-opt-in {
border: 4px dashed #ff0000 !important;
background: #ffffff !important;
}
.itsec-recaptcha-opt-in::before {
content:'AGREE TO TERMS TO LOG IN';
color: #ff0000 !important;
font-weight:bold;
font-size:18px;
}
.itsec-recaptcha-opt-in__agree {
background: #ff0000 !important;
padding: 5px 20px !important;
color: #fff !important;
text-decoration: none !important;
font-weight: bold !important;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'bww_itsec_captcha_style' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment