as I move forward the problems arise...
I set this menu tab to be displayed at the right of the menu bar. this is what i wrote in extra.less.
Less:
/* to get the menu bar takes the entire width of the site */
.p-nav-list {
width: 990px;
}
/* to get my new tab at the extrem right of the menu bar */
.p-nav-list>li:last-child {
float: right;
}
It works fine like that
Nouveau Sujet
is the new tab.
But when this new tab is not displayed (because user is not registered or the page is not forum_list) the
Membres
tab go to the extrem right because it becomes the last-child of Menu (
.p-nav-list>li:last-child {float: right;}
. )
How can i manage this behaviour i don't want ?
Thanks.