HI @ajtruckle,
following Robin’s code above here is what I’ve done. I put a div with class name in child theme function file then I could style it in my CSS file.
PHP :
add_action( 'bbp_theme_after_topic_form_tags' , 'rew_tags_label' );
add_action( 'bbp_theme_after_reply_form_tags' , 'rew_tags_label' );
function rew_tags_label () {
$text_comma = 'Whatever is your text<br>and with a secondl ine too.' ;
echo '<div class="bbpress-topic-comma-notice">' ;
echo $text_comma ;
echo '</div>' ;
}
CSS :
.bbpress-topic-comma-notice {
font-family: Hevetica, sans-serif;
margin: -7px 0 5px 0;
font-size: 1.3rem;
color: #aeaeae;
line-height:1.375em;
}
Thx to Robin for this trick and to ajtruckle for asking this question I had too.
bv
-
This reply was modified 5 years, 4 months ago by
brunov99.
-
This reply was modified 5 years, 4 months ago by
brunov99.