Nobleman

Active Member
Hey @Russ , a couple of things

1) I would like to color the node categories; all I can find on XenForo site is old code; how and what code would I use?
2) I would like the welcome message to stay for all groups; how would I do that?

Thanks
 
1.) This CSS is a little advance but it makes things pretty easy:

Code:
.node-colors("1", limegreen);
.node-colors("6", goldenrod);
.node-colors("12", #CCC);
.node-colors("16", orange);

.node-colors(@class, @color)
{
    @className: ~"@{class}";
    .block--category@{className}
    {
        color: @color;
        .block-header
        {
            background-color: @color;
        }
        .node--unread .node-icon i:before, .node-title a, .node-extra a
        {
            color: @color;
        }
    }
}

Basically it's repeating CSS. All you ned to do is edit/add/remove these lines:

Code:
.node-colors("16", orange);

Replacing with your category id (you can find this in the URL usually). Like on the XenForo official forums: https://xenforo.com/community/#official-forums.1 official forums category is 1. Let me know if that makes sense.


2.) Open the template "xb_welcome"

Change the top line:

Code:
<xf:if is="$xf.options.boardActive AND property('xbWelcomeNotice') AND !$xf.visitor.user_id">

To:

Code:
<xf:if is="$xf.options.boardActive AND property('xbWelcomeNotice')">
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back