Released 2x img to navigation tab

leanndamiann1

Well-known member
Registered
Joined
Apr 22, 2021
Messages
190
Points
28

Reputation:

good night, I wanted to know how to add an icon of an image that I want to put, next to the text in the navigation tab
 

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
383
Points
53

Reputation:

leanndamiann1

Well-known member
Registered
Joined
Apr 22, 2021
Messages
190
Points
28

Reputation:

can you show what you need with a pic so you can get the best answer
one_finger_manYes, add image


444.png
 

Pokschubin

Well-known member
Registered
Joined
Dec 13, 2018
Messages
50
Points
63

Reputation:

/admin.php?navigation/

Title [B]<img src="/data/images/icon/us.png">[/B]
 

Attachments

  • Снимок экрана от 2022-10-26 06-39-27.png
    Снимок экрана от 2022-10-26 06-39-27.png
    24.6 KB · Views: 54

leanndamiann1

Well-known member
Registered
Joined
Apr 22, 2021
Messages
190
Points
28

Reputation:

/admin.php?navigation/

Title [B]<img src="/data/images/icon/us.png">[/B]
PokschubinI want to edit forum, home, and don't edit me, leave the title xenforo blocked it so as not to edit
 
View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

I want to edit forum, home, and don't edit me, leave the title xenforo blocked it so as not to edit
leanndamiann1it does not look nice, but these might be caused by my choosen image and you can play around with the CSS code:

Blok.png


Less:
.p-navEl [data-nav-id="forums"]:before {
    content: url('data/images/aq.png');
    display: inline;
    vertical-align: middle;
    float: left;
    padding-left: 4px;
    padding-top: 4px;
}
 

leanndamiann1

Well-known member
Registered
Joined
Apr 22, 2021
Messages
190
Points
28

Reputation:

it does not look nice, but these might be caused by my choosen image and you can play around with the CSS code:

View attachment 31147

Less:
.p-navEl [data-nav-id="forums"]:before {
    content: url('data/images/aq.png');
    display: inline;
    vertical-align: middle;
    float: left;
    padding-left: 4px;
    padding-top: 4px;
}
BattleKingthanks work for me :D
 

Pokschubin

Well-known member
Registered
Joined
Dec 13, 2018
Messages
50
Points
63

Reputation:

it does not look nice, but these might be caused by my choosen image and you can play around with the CSS code:

View attachment 31147

Less:
.p-navEl [data-nav-id="forums"]:before {
    content: url('data/images/aq.png');
    display: inline;
    vertical-align: middle;
    float: left;
    padding-left: 4px;
    padding-top: 4px;
}
BattleKingfont-size: 32px; /** Example */
 
Top