Plugin Author
Vova
(@gn_themes)
Hi Patryk,
sorry for the late reply.
Prior version 5.4 transparent
was interpreted incorrectly. Now it works as it should, it displays a transparent border.
If you want to add a grey border again, please follow the instructions below.
1. Add the following code to the end of the functions.php
file of your theme:
function su_add_note_border_css_class( $atts ) {
if ( ! isset( $atts['note_color'] ) || 'transparent' !== $atts['note_color'] ) {
return $atts;
}
$atts['class'] .= ' su-note-with-grey-border';
return $atts;
}
add_filter( 'shortcode_atts_note', 'su_add_note_border_css_class' );
2. Then, navigate to Dashboard → Shortcodes → Settings and add the following CSS code to the Custom CSS code field:
.su-note.su-note-with-grey-border {
border-color: #333333 !important;
}
Thread Starter
Patryk
(@prcpl)
THX for reply.
Because I use only one “note” format (transparent background + border) I use CSS:
.su-note .su-note-inner {
border: 1px solid #333 !important;
}
Best regards, Patryk