Code : Tout sélectionner
.fa-image::before {
content: "\f03e";
}
Code : Tout sélectionner
.icon .fa-image::before {
content: "\f03e";
}
Code : Tout sélectionner
.fa-tint::before {
content: "\f1fc";
}
Code : Tout sélectionner
/*.icon-pages*/
/* remove default icon styling */
.icon-pages { background: none !important }
/* remove default icon styling */
.icon-pages > a { padding: 0 }
/* apply font icon styling */
.icon-page-liens-utiles > a:before {
content: "\f0ac"; /*https://fortawesome.github.io/Font-Awesome/cheatsheet/*/
font: normal normal normal 14px/1 FontAwesome;
display: inline-block;
width: 1.28571429em;
text-align: center;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding-right: 2px;
}
louvache a écrit :J’imagine que pour éviter qu’une même icône soit remplacée partout, il faut complexifier les règles CSS en ajoutant des classes à la suite
Code : Tout sélectionner
.bbcode-img .fa-image::before { content: "\f03e"; }
Mazeltof a écrit :Hors si tu utilises une extension, ta question devrait se trouvé dans le forum dédié a cet effet et non dans le forum de support d'un style puisque, de fait, la solution n'est pas la même.
Code : Tout sélectionner
<!-- BEGIN custom_tags -->
<button type="button" class="button button-secondary bbcode-{custom_tags.BBCODE_TAG_CLEAN}" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{{ custom_tags.BBCODE_HELPLINE|e('html_attr') }}">
{custom_tags.BBCODE_TAG}
</button>
<!-- END custom_tags -->
louvache a écrit :même pour l’extension Page