XF 2.3 Is there a way to highlight sticky treads in forums

I use this in extra.less template

Code:
/*STICKY SEPARATOR*/


/*the sticky background*/
.structItemContainer-group.structItemContainer-group--sticky

{
    border:3px solid @xf-paletteColor2 ;
    border-radius:10px;
    margin:0px 0px 10px 0px;}

.structItemContainer-group.structItemContainer-group--sticky:before
{content: "  Sticky Threads: ";
        line-height:2em;
    font-style:normal;
    font-size:20px;
    padding-left:10px;  }
 
I use this in extra.less template

Code:
/*STICKY SEPARATOR*/


/*the sticky background*/
.structItemContainer-group.structItemContainer-group--sticky

{
    border:3px solid @xf-paletteColor2 ;
    border-radius:10px;
    margin:0px 0px 10px 0px;}

.structItemContainer-group.structItemContainer-group--sticky:before
{content: "  Sticky Threads: ";
        line-height:2em;
    font-style:normal;
    font-size:20px;
    padding-left:10px;  }
Thank You!
 
I use this in extra.less template

Code:
/*STICKY SEPARATOR*/


/*the sticky background*/
.structItemContainer-group.structItemContainer-group--sticky

{
    border:3px solid @xf-paletteColor2 ;
    border-radius:10px;
    margin:0px 0px 10px 0px;}

.structItemContainer-group.structItemContainer-group--sticky:before
{content: "  Sticky Threads: ";
        line-height:2em;
    font-style:normal;
    font-size:20px;
    padding-left:10px;  }
Thankyou for sharing your sticky thread highlight code, it works perfectly on XF 2.3 in both the light and dark modes.
 
I use this in extra.less template

Code:
/*STICKY SEPARATOR*/


/*the sticky background*/
.structItemContainer-group.structItemContainer-group--sticky

{
    border:3px solid @xf-paletteColor2 ;
    border-radius:10px;
    margin:0px 0px 10px 0px;}

.structItemContainer-group.structItemContainer-group--sticky:before
{content: "  Sticky Threads: ";
        line-height:2em;
    font-style:normal;
    font-size:20px;
    padding-left:10px;  }
I quite like this one, thanks!
 
Back
Top Bottom