XF 2.0 Adding a sticky divider

Ranger375

Well-known member
Does anyone have a good way to put a divider between the posts and stickies or at least just change the color of the sticked posts?
 
You can do either with changes in extra.less, e.g.
Less:
.structItemContainer-group.structItemContainer-group--sticky
{
    border-bottom: 2px solid red;
}
Thick red border between the sticky group and the non sticky group.
Less:
.structItemContainer-group.structItemContainer-group--sticky
{
    .structItem--thread
    {
        background-color: lightblue;
    }
}
Different background colour for sticky threads.
 
You can do either with changes in extra.less, e.g.
Less:
.structItemContainer-group.structItemContainer-group--sticky
{
    border-bottom: 2px solid red;
}
Thick red border between the sticky group and the non sticky group.
Less:
.structItemContainer-group.structItemContainer-group--sticky
{
    .structItem--thread
    {
        background-color: lightblue;
    }
}
Different background colour for sticky threads.

You are the man. Thanks!
 
Top Bottom