GW2
Well-known member
This is very useful code. Thank you for that. I found that 6px was a little too small, so I changed it to 8px.So I tweaked the code just a little more. I only needed the bottom border in this modification I am working on.
CSS:/* Border between sticky/normal threads */ .structItemContainer-group--sticky { border-bottom: 6px solid; color: xf-diminish(@xf-borderColor, 6%); }
The color is XF template-speak for the existing border color, which in turn is based on the palette color Neutral 1. This matches the border color between the cells in the thread listing, and will also change on any child themes where a variation in colors are used. So, there will not be a need to edit this color manually in extra.less in the templates with each child theme.
@Ozzy47 This code works fine with [OzzMods] Highlight Sticky Threads v 2.0.2. I am currently using XF 2.3.3 and all is fine.