Creating custom prefix styling

XF 2 Tip Creating custom prefix styling

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,131
Points
823

Reputation:

ENXF NET submitted a new resource:

Creating custom prefix styling - Less is more

By default, XF comes with the following prefix styles:
View attachment 7620
Creating custom styling using the Other, using custom CSS class name option is fairly straightforward.

This guide will explain how to.

The easiest way by far to add new prefix styling and to ensure it inherits all of the core styling is to edit the core_labels.less template.

Look for the section in the template highlighted in the screenshot below:
View attachment 7621
Then...

Read more about this resource...
 

anonnsec

Well-known member
Registered
Joined
Nov 6, 2019
Messages
147
Points
53

Reputation:

IMG_20200705_194747.jpg


@ENXF NET How to make this ? ?
 

DareSec

Inforc3r
Staff member
Administrator
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
May 25, 2019
Messages
1,372
Points
523

Reputation:

Look like well-known russian forum ,this prefix created by xfinfo forum .
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,131
Points
823

Reputation:

I am looking for an answer for you
 

DareSec

Inforc3r
Staff member
Administrator
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
May 25, 2019
Messages
1,372
Points
523

Reputation:

Search tab
 

anonnsec

Well-known member
Registered
Joined
Nov 6, 2019
Messages
147
Points
53

Reputation:

.label.label--Mixed { content: "\f02d"; font-family: FontAwesome 5pro; margin-right: 4px !important; color: #ff33cc !important; background: #ffffff !important; font-weight: bold; }

why this one is not working?
 

juabo10

Well-known member
Registered
Joined
Aug 20, 2020
Messages
72
Points
28

Reputation:

1602364197856.png

The name of the prefix I see a little below, how do I center it?
 

JaimeLopez

New member
Registered
Joined
Nov 28, 2020
Messages
3
Points
13

Reputation:

Me gustaría ser rotulo que diga asi WebMaster, Administrador, Sub Admin, Diseñador, SuperVisor Moderador como los hago esos para mi foro que esta montado en Cuba y saludos antes de todo desde cuba
 

JaimeLopez

New member
Registered
Joined
Nov 28, 2020
Messages
3
Points
13

Reputation:

quien pueda ayudarme que me escriba al pv
 

Attachments

  • Screenshot_20201215-145952_Chrome.jpg
    Screenshot_20201215-145952_Chrome.jpg
    238.5 KB · Views: 129
Top