Styling
-
Hi, some styles are hardcoded inline such as spinner
$output .= '<div><button id="'.esc_attr( $keys[3] ).'-'.$s.'" type="submit" class="button" style="background-size:22px 22px !important;background-repeat:no-repeat !important;background-image:url('.includes_url( '/images/spinner.gif' ).') !important" onclick="essential_form_'.sanitize_key( $keys[0] ).'('.$s.');return false;">'.esc_html( $button_text ).'</div>';Or submission notification styles
$output .= '.'.esc_attr( $keys[0] ).'-wrp .ef-error{border:1px solid red;padding:10px;margin-bottom:16px}';
$output .= '.'.esc_attr( $keys[0] ).'-wrp .ef-success{border:1px solid green;padding:10px;margin-bottom:16px}';is there a clean way to override it? ef-success can use important rule, but the button already uses important rule
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Styling’ is closed to new replies.