• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Highlight and Separate Sticky Threads

Highlight and Separate Sticky Threads 2017-12-04

No permission to download
Compatible XF 2.x versions
2.0
Simple css (extra.less) modifications to highlight/separate sticky threads

Separate sticky and normal threads

Insert code in template: extra.less
CSS:
/* Border between sticky/normal threads */
.structItemContainer-group--sticky {
    border-bottom: 6px solid;
    color: xf-diminish(@xf-borderColor, 6%);
}

Subtle accent

Insert code in template: extra.less
CSS:
.structItemContainer-group--sticky {
      background-color: @xf-paletteColor1;
}

.structItemContainer-group--sticky .structItem-title a:link,
.structItemContainer-group--sticky .structItem-title a:visited {
    color: @xf-paletteColor4;
}

Highlighted accent

Insert code in template: extra.less
CSS:
.structItemContainer-group--sticky {
      background-color: @xf-paletteAccent1;
}

.structItemContainer-group--sticky .structItem-title a:link,
.structItemContainer-group--sticky .structItem-title a:visited {
    color: @xf-paletteAccent3;
}

You can also put in any other colours you like. Just familiarizing myself with xenforo 2.0 thought this may be helpful to others looking.
Author
Koala_Steamed
Downloads
19
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest reviews

Thanks, this was extremely helpful. It's great not to have to edit a different template or use an addon to make the sticky threads stand out. I modified it a little to just have a border. Works great!