Xenforo 2.1 edited

Roland

Well-known member
Registered
Joined
Sep 19, 2022
Messages
89
Points
8

Reputation:

editedd
 
Last edited:

BattleKing

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

Reputation:

Roland

Well-known member
Registered
Joined
Sep 19, 2022
Messages
89
Points
8

Reputation:

Deleted
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,520
Points
523

Reputation:

RolandI guess you mean somehting like this:
Blok.png


Create template modification for PAGE_CONTAINER

FIND:
Code:
                            <a href="{{ link('account/alerts') }}"
REPLACE:
Code:
        <a href="{{ link('account/newicon') }}"
            class="p-navgroup-link p-navgroup-link--newicon"
            title="{{ phrase('newicon')}}"
            aria-label="{{ phrase('newicon')}}"
            aria-expanded="false"
            aria-haspopup="true">
            <i aria-hidden="true"></i>
            <span class="p-navgroup-linkText">{{ phrase('newicon') }}</span>
        </a>
        <div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"
            data-href="{{ link('account/newicon') }}"
            data-nocache="true"
            data-load-target=".js-alertsMenuBody">
        </div>
$0
[/CODE}

sorry missed the extra.less code
Less:
.p-navgroup-link.p-navgroup-link--newicon i:after {
    content: "\f0e3";
    width: 1.28571429em;
    display: inline-block;
    text-align: center;
}

.p-navgroup-link.p-navgroup-link--newicon i:after {
    font-family: 'Font Awesome 5 Pro';
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    min-width: 1.2em;
    text-align: center;
}
 
Last edited:

one_finger_man

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

Reputation:

I guess you mean somehting like this:
View attachment 31018

Create template modification for PAGE_CONTAINER

FIND:
Code:
                            <a href="{{ link('account/alerts') }}"
REPLACE:
Code:
        <a href="{{ link('account/newicon') }}"
            class="p-navgroup-link p-navgroup-link--newicon"
            title="{{ phrase('newicon')}}"
            aria-label="{{ phrase('newicon')}}"
            aria-expanded="false"
            aria-haspopup="true">
            <i aria-hidden="true"></i>
            <span class="p-navgroup-linkText">{{ phrase('newicon') }}</span>
        </a>
        <div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"
            data-href="{{ link('account/newicon') }}"
            data-nocache="true"
            data-load-target=".js-alertsMenuBody">
        </div>
$0
[/CODE}
BattleKingits not working braking the theme
 

one_finger_man

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

Reputation:

you want it like this right this is the codes i use for this you can mess around with what ya want

HTML:
.p-nav .p-navgroup-link--whatsnew {
    display: block;
}


Chat.png
 
Last edited:

one_finger_man

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

Reputation:

you will need to make a new tab with icon in Public navigation
 
Top