.p-nav .p-navgroup-link--whatsnew {
display: block;
}
.p-nav .p-navgroup-link--whatsnew {
display: block;
.p-navgroup-linkText { display: none; }
}
I used this one and removed the "What's New" tab to standardize the mobile/desktop appearance.Maybe it is ok for your needs.
.p-nav
{
.p-navgroup.p-account
{
border-top-right-radius: 0;
}
.p-navgroup.p-discovery
{
margin-left: 0;
background-color: transparent;
border-top-left-radius: 0;
.p-navgroup-link--whatsnew
{
display: block;
border-left: 1px solid @xf-publicHeaderAdjustColor;
border-top-right-radius: @xf-borderRadiusMedium;
border-top-left-radius: 0;
background: @xf-publicHeaderAdjustColor;
.p-navgroup-linkText { display: none; }
}
.p-navgroup-link--search
{
margin-left: 5px;
background: @xf-publicHeaderAdjustColor;
}
}
}
Mine is on the right side of the search tab, using the add-on. I think he has a setting.
@Russ unfortunately can't be there all the time (Pixel Exit and all) and I believe I did tip him for this (if I recollect) which is why it's free.Which is why I said: I appreciate that Bassman add-ons provide additional options though.
this is missing the hover style attributes.For what it's worth, easily done via CSS still. I've just never been a fan of installing an add-on for what a tiny bit of CSS can do. I appreciate that Bassman add-ons provide additional options though.
Code:.p-nav { .p-navgroup.p-account { border-top-right-radius: 0; } .p-navgroup.p-discovery { margin-left: 0; background-color: transparent; border-top-left-radius: 0; .p-navgroup-link--whatsnew { display: block; border-left: 1px solid @xf-publicHeaderAdjustColor; border-top-right-radius: @xf-borderRadiusMedium; border-top-left-radius: 0; background: @xf-publicHeaderAdjustColor; .p-navgroup-linkText { display: none; } } .p-navgroup-link--search { margin-left: 5px; background: @xf-publicHeaderAdjustColor; } } }
If you're really picky about it
View attachment 234255
Wish I had the time to learn this CSS stuff better. This is such a nice, simple way to add it. And I don't mind it being next to Search. Seems to make sense to have it there, really.Just add this to extra.less, for the icon + the text to show:
Code:.p-nav .p-navgroup-link--whatsnew { display: block; }
Or icon only:
Code:.p-nav .p-navgroup-link--whatsnew { display: block; .p-navgroup-linkText { display: none; } }
Where within the CSS should this go? It also puts the hover-over effect on the search button for me.&:hover
{
text-decoration: none;
background: xf-intensify(@xf-publicHeaderAdjustColor, 5%);
}
Yea it's not working correctly. Just the code from Russ breaks mobile
@media (min-width: (@xf-responsiveMedium + 1))
{
.p-nav
{
.p-navgroup.p-account
{
border-top-right-radius: 0;
}
.p-navgroup.p-discovery
{
margin-left: 0;
background-color: transparent;
border-top-left-radius: 0;
.p-navgroup-link--whatsnew
{
display: block;
border-left: 1px solid @xf-publicHeaderAdjustColor;
border-top-right-radius: @xf-borderRadiusMedium;
border-top-left-radius: 0;
background: @xf-publicHeaderAdjustColor;
.p-navgroup-linkText { display: none; }
}
.p-navgroup-link--search
{
margin-left: 5px;
background: @xf-publicHeaderAdjustColor;
}
}
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.