How to override CSS styles in classic forms
-
With the Donation Visual Form Builder, CSS styling is different than with the legacy form builder.
I can’t figure out how to style the focus state (keyboard outline) on Donation Amount buttons on a Classic form. By default, the keyboard outline is hidden which is bad for accessibility. I think this CSS rule needs to be overriden:
@layer base {
:focus-visible {
outline: none;
}}
I’ve tried to add specificity but without luck.@layer base {
:focus-visible {
outline: 3px solid #000 !important;
}
}How can I override this default CSS rule and make a visible outline?
The topic ‘How to override CSS styles in classic forms’ is closed to new replies.