I have the following page HERE, and basically as you can see there is a google captcha , now I needed the box-shadow and the border gone so I applied the following styles:
.rc-anchor-light { border: none !important;} .rc-anchor { box-shadow: none !important;}
The above doesn't work as the captcha is loaded in an iframe, so after surfing SO for a while I came up with the following solution:
$('.g-recaptcha iframe').load( function() {
$('.g-recaptcha iframe').contents().find("head")
.append($("<style type='text/css'> .rc-anchor-light { border: none !important;} .rc-anchor { box-shadow: none !important;} </style>"));
});
This doesn't work too and I believe is the wrong thing to do in this case because the google iframe already does have some custom styles in the <head>
style element, so the above I am afraid might override it.
So how exactly do I modify the google captcha styles??
All I want is the border and the shadow gone.