Hide Turnstile elements when using “Interaction Only” appearance mode
-
Thank you, sir, for this excellent replacement to the Advanced Google reCAPTCHA plugin (which would not let me pass a reCAPTCHA test on both sites I tried).
Would it be possible to hide the Turnstile elements (at minimum,
span.cf-turnstile > divandbr.cf-turnstile-br) when an interaction isn’t needed? Seems that leaving a huge space where the Turnstile would be kinda defeats the purpose of the “Interaction Only” setting in Advanced Settings > Appearance Mode. This is much more noticeable on the comment form than on the Forgot Password form.What I’m going for is something like the following:
p.form-submit .cf-turnstile-comments:has(iframe[style='height: 0']),
p.form-submit:has(.cf-turnstile-comments iframe[style='height: 0']) br {
display: none;
}But this doesn’t work, because CSS can’t target shadow DOM elements.
The page I need help with: [log in to see the link]
The topic ‘Hide Turnstile elements when using “Interaction Only” appearance mode’ is closed to new replies.