<span class="fa-before fa-globe">
<span class="fa fa-before fa-globe">
fa
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
No, we're using it to apply font awesome styling to :before without tampering with the element it self. This allows us to add a prefix icon without adding extra elements to the page and without altering the font style of the text in the element its attached to. Our fa-before is not compatible with Font Awesome 5. Once we update for Font Awesome 5 the fa-before usage will be entirely removed. For now that is absolutely not going to happen (there are a significant amount of such usages). Again, we don't support Font Awesome 5; update and use it at ones own risk. You will have to add your own custom CSS workarounds for any broken icons.So if CB would use the standard "fa" code in the plugins templates that would be easier.
Please Log in to join the conversation.
font-family: "Font Awesome 5 Pro" !important;
.cb_template .fa {
font-family: "Font Awesome 5 Pro" !important;
/* MARKED IMPORTANT TO AVOID BEING OVERRIDDEN */
font-weight: 400;
}
.cb_template .fa:before,
.cb_template .fa-before:before,
.cb_template .fa-raw,
.cb_template .fa-raw:before,
.cb_template .fa-raw-before:before {
display: inline-block;
font: normal normal normal 14px/1 "Font Awesome 5 Pro";
font-weight: 400;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: "Font Awesome 5 Pro" !important;
font-weight: 400;
/* MARKED IMPORTANT TO AVOID BEING OVERRIDDEN */
}
Please Log in to join the conversation.