Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
320 views
in Themes by
edited by

Hello

I want to add a CSS class to the questioner meta box on the question page and I want a condition, like the condition below

$cssclass = $questioner ? 'class' : '';

See the photo below


I mean, what function should I actually use to get the person who asked the question?

Q2A version: 1.8
by
+1
In what context do you want to do that? What code do you already have?
by
edited by
I edited the question
I actually want to change the background color of the metabox of each question or answer from the questioner. I don't want to do this with pure css. I don't have any code already

Please log in or register to answer this question.

...