Resource icon

XenForo 2.0 Sticky thread simple styling

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,804
Points
823

Reputation:

LQD submitted a new resource:

Sticky thread simple styling - Background colour and text styling of sticky threads

After trying ALMUSA's sticky thread separator, I went a bit further and decided to try customising the look of the stickies.

This seems to be much simpler than in xf1, the following added to EXTRA.less will change the background colour, font style and font colour of the main text (i.e. the links)
Code:
.structItemContainer-group.structItemContainer-group--sticky

{background:#000;
font-style:italic;}

.structItemContainer-group.structItemContainer-group--sticky a
{color:#fff}
...

Read more about this resource...
 

samy zaid

Member
Registered
Joined
Mar 3, 2019
Messages
8
Points
3

Reputation:

thank u

i have this code to change threads background

HTML:
.structItem.structItem--thread {
   background: #BE93C5;  }

and this code not working with me because of that

HTML:
.structItemContainer-group.structItemContainer-group--sticky

{background:#000;
font-style:italic;}

.structItemContainer-group.structItemContainer-group--sticky a
{color:#fff}

how can i make the second code work beside the first code ???

please help !
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,804
Points
823

Reputation:

thank u

i have this code to change threads background

HTML:
.structItem.structItem--thread {
   background: #BE93C5;  }

and this code not working with me because of that

HTML:
.structItemContainer-group.structItemContainer-group--sticky

{background:#000;
font-style:italic;}

.structItemContainer-group.structItemContainer-group--sticky a
{color:#fff}

how can i make the second code work beside the first code ???

please help !
samy zaidAre you using xenforo 2.1 or 2.0?
 
Top