MyBB Community Forums

Full Version: change signature Font Awesome 5 Free
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
postbit_signature Templates

<div class="sgnture">{$post['signature']}</div></div>

global.css

.sgnture {
    width: 100%;
    position: relative;
    padding: 16px 20px 16px 68px;
    margin-top: 10px;
    background: #f4f5f6;
    font-size: 13px
}

.sgnture:after {
    position: absolute;
    bottom: 100%;
    left: 4%;
    height: 0;
    width: 0;
    margin-left: -6px;
    content: " ";
    border: solid transparent 8px;
    border-bottom-color: #edeff2
}

.sgnture:before {
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: -15px;
    font-family: Font Awesome 5 Free;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 20px;
    content: "\f040";
    color: #e37d8c;
}
Your template code is is opening one div tag and closing two.

Further mind to implement FA font to your style before - else you can't use "font-family: FontAwesome".

[ExiTuS]