XenForo Tutorials

Change the color of the blocks on your sidebar

Submitted by Sunny1997, , Thread ID: 123417

Thread Closed
Sunny1997
Newbie
Level:
0
Reputation:
0
Posts:
16
Likes:
4
Credits:
0
04-03-2019, 01:35 PM
#1
Add to extra.less

Code:
/*color bloc sidebar*/
.block-minorHeader {
background-color: #0f3652 !important;
color: #FFF !important;
}

RE: Change the color of the blocks on your sidebar

danangbinsam
Newbie
Level:
0
Reputation:
0
Posts:
16
Likes:
0
Credits:
13
13-04-2019, 05:08 PM
#2
04-03-2019, 01:35 PM
Sunny1997 Wrote:
Add to extra.less

Code:
/*color bloc sidebar*/
.block-minorHeader {
background-color: #0f3652 !important;
color: #FFF !important;
}

Ok, Thanks

RE: Change the color of the blocks on your sidebar

nounouurs
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
30-04-2019, 08:16 PM
#3
04-03-2019, 01:35 PM
Sunny1997 Wrote:
Add to extra.less

Code:
/*color bloc sidebar*/
.block-minorHeader {
background-color: #0f3652 !important;
color: #FFF !important;
}

Thank you for this tutorials Wink

RE: Change the color of the blocks on your sidebar

iiSulli
Novice
Level:
0
Reputation:
0
Posts:
24
Likes:
0
Credits:
1
28-06-2019, 05:03 PM
#4
04-03-2019, 01:35 PM
Sunny1997 Wrote:
Add to extra.less

Code:
/*color bloc sidebar*/
.block-minorHeader {
background-color: #0f3652 !important;
color: #FFF !important;
}

Does this also work for the new and updated xenforo? or is this for only the old versions?

RE: Change the color of the blocks on your sidebar

nibbas
Newbie
Level:
0
Reputation:
0
Posts:
15
Likes:
0
Credits:
15
05-07-2019, 06:57 PM
#5
I just tried this and it looks great on my forum. Gonna modify it a little bit.

RE: Change the color of the blocks on your sidebar

gajodoporto
Junior Member
Level:
0
Reputation:
0
Posts:
65
Likes:
20
Credits:
113
15-11-2019, 02:35 PM
#6
HI!
What if I need to style only 1 specific block, how can I target only that specific block?
Thanks

Users browsing this thread: 1 Guest(s)