XF 1.2 Membercard Styling

RoyalRumble

Active member
Hello There,

I'm new to XenForo (Purchased it an hour ago...)

I've spent the past hour or so trying to change the colour of the text on the Membercards (as indicated)

I need @mutedTextColor to remain Black so I can't edit that. I need to edit this text exclusively.

If anyone could advise or kindly direct me to where I can find an answer I would be most appreciative.

upload_2014-1-11_17-17-31.webp
 
Thanks again!

That's certainly done the trick, but it has also altered the text elsewhere;

View attachment 64677

I'm needing all amends to be exclusive to the membercard bit. The forum is here: http://grandoldteam.com/xf/index.php

The current EXTRA.CSS looks like;

View attachment 64678

Then what you do in that case is get more specific...you would tell the rule to only apply to those classes if they are children of X classes...

Code:
.pairsInline.lastActivity .DateTime.muted {
    color: #FFFFFF;
}
 
Then what you do in that case is get more specific...you would tell the rule to only apply to those classes if they are children of X classes...

Code:
.pairsInline.lastActivity .DateTime.muted {
    color: #FFFFFF;
}

Thank you

So should the code in EXTRA.CSS look like;

Code:
.pairsInline.lastActivity .DateTime.muted {
    color: #FFFFFF;
}
.pairsInline dt {
color: #ffffff !important;
}
.pairsInline.lastActivity dt {
color: #ffffff;
}
.DateTime.muted {
    color: #ffffff;
}


If so, the problem remains
 

Thanks Kat,

The forum 'Discussions' and 'Messages' text revert back to their normal colour, but the membercard goes back to the initial problem.

I'm being a right pain here aren't I?
 
Thanks Kat,

The forum 'Discussions' and 'Messages' text revert back to their normal colour, but the membercard goes back to the initial problem.

I'm being a right pain here aren't I?
Not at all...
Try removing all the css you just added...

and replace it with this one block below

Code:
.userStats.pairsInline dt, .pairsInline.lastActivity dt, .pairsInline.lastActivity .DateTime.muted {
color: #ffffff;
}
 
regarding Brogan's advice, may change it to
Code:
 .xenOverlay.memberCard.memberCard dt,  .xenOverlay.memberCard.memberCard .muted,  .xenOverlay.memberCard.memberCard h4 {
color: white !important;
}

edit: also have just seen there was a typo in it, fixed that, sorry
 
Not at all...
Try removing all the css you just added...

and replace it with this one block below

Code:
.userStats.pairsInline dt, .pairsInline.lastActivity dt, .pairsInline.lastActivity .DateTime.muted {
color: #ffffff;
}

Thank you, this did the trick :)

If anyone stumbles across this thread looking for an answer, what my eventual code was in Extra.CSS was;

Code:
.userStats.pairsInline dt, .pairsInline.lastActivity dt, .pairsInline.lastActivity .DateTime.muted {
color: #ffffff;
}

/* Member card stats and last activity in two columns */
.xenOverlay.memberCard .userInfo .userStats {
float: left;
width: 49% !important;
border-right: 1px solid #556655 !important;
}

.xenOverlay.memberCard .userInfo .userStats dd {
float: right !important;
}

.xenOverlay.memberCard .userInfo .userStats dt  {
float: left;
clear: both;
}

.xenOverlay.memberCard .lastActivity {
float: right;
width: 49% !important;
margin-top: 0px !important;
padding-top: 0px !important;
border-top: 0 !important;
}

.xenOverlay.memberCard .lastActivity.pairsInline dt {
float: left;
clear: both;
}

.xenOverlay.memberCard .lastActivity.pairsInline dd {
float: left;
clear: both;
}

Producing a membercard of;

upload_2014-1-11_18-39-26.webp

Big thanks to @EQnoble @katsulynx @Brogan and @Amaury - really appreciate it. Amazing level of rapid support. I was with vBulletin for 8 years... the switch to XenForo already looking a good'un.
 
Top Bottom