Installing a royal crown next to the name

XF 2 Questions & Aides Installing a royal crown next to the name

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Installing a royal crown next to the name

XF 2 Questions & Aides Installing a royal crown next to the name

Catégorie Catégorie Questions & Aides
Titre du sujet Titre du sujet Installing a royal crown next to the name
Auteur de la discussion Auteur de la discussion Binkaddas
Date de début Date de début
Réponses Réponses 4
Affichages Affichages 221
Réaction Réaction 0
Dernier message par Dernier message par Binkaddas

Binkaddas

Membre Actif

Membre
Réputation: 11%
Discussions
8
Messages
95
Solutions
1
J'aime
9
Points
8
the below code working fine for version 2.2 but not working for 2.3.6

So can anyone help to update

version 2.2
1741700356028.webp


version 2.3.6
1741700367740.webp



1- Groups and Permissions >> User Groups >> Admin Group >> Copy the following code into (username CSS format)
Code:
.username--style3 {
    text-shadow: #ee82ee 1px 1px 10px;
    color: red;
    background: url(C:\xampp\htdocs\xenforo\test\16066101745881.gif);
}


2- Then copy the following code into the extra.less template:
Code:
.username--style3:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f521";
    padding-right: 1px;
    display: inline-block;
}
 
XF 2 Questions & Aides  Postbit user banner
Ton code extra.less n'est pas bon :
Code:
.username--style3 {
    &:before
    {
        .m-faBase();
        .m-faContent(@fa-var-fa-crown);
        padding-right: 1px;
        display: inline-block;
    }
}
 
Upvote 0
@Binkaddas Teste celui la :
Less:
.username--style3:before {
    .m-faContent(@fa-var-duotone-crown);
    padding-right: 1px;
    display: inline-block;
}
 
Upvote 0
Solution
Retour
Haut Bas