• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Member Card

wickedstangs

Well-known member
#1
How to change the text color? The Dark Blue only
card.JPG

Everytime, I mess with the Forum Statistics it changes my Member Card Text Color.

.pairs dt, .pairsInline dt, .pairsRows dt, .pairsColumns dt, .pairsJustified dt {
color: #0A2A5A !important;
}
How can I just change the Member Card Color?
 

Brogan

XenForo moderator
Staff member
#2
Use higher specificity to stop your changes affecting other areas.

For the member card for example add .xenOverlay.memberCard before those classes:
Code:
.xenOverlay.memberCard .pairs dt, .pairsInline dt, .pairsRows dt,
.xenOverlay.memberCard .pairsColumns dt, .pairsJustified dt {
color: #0A2A5A !important;
}
Do the same for the other areas and it won't afffect everything which uses those classes.
 

wickedstangs

Well-known member
#3
Use higher specificity to stop your changes affecting other areas.

For the member card for example add .xenOverlay.memberCard before those classes:
Code:
.xenOverlay.memberCard .pairs dt, .pairsInline dt, .pairsRows dt,
.xenOverlay.memberCard .pairsColumns dt, .pairsJustified dt {
color: #0A2A5A !important;
}
Do the same for the other areas and it won't afffect everything which uses those classes.
can't get it to work.. If I use the above it mess with the front page again.. Just want to change color of the .dt of the member card
Code:
.xenOverlay.memberCard, .dt {
color: #F4F5F0 !important;
}