Hi,
i'd like to ask for little help here. I'm trying set different post background color for unapproved/moderated post, but i can't figure it, why my modifications doesn't work.
What i done is:
In
postbit template find
<div class="postbody">
and changed it for the first time to:
Code:
<div class="<vb:if condition="$show['moderated']">postbodymod<vb:else />postbody</vb:if>">
for the second time to this:
Code:
<div
<vb:if condition="$show['moderated']">
class="postbodymod"
<vb:else />
class="postbody"
</vb:if>
>
and added into
additional.css these rows:
Code:
.postbitlegacy .postbodymod {
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: #ffeb90;
_background-image: none;
padding-bottom: 1em;
}
}
also tried only this:
Code:
.postbodymod {
background: #ffeb90;
}
and much more combinations or something like that, but nothink works for me. Moderated/Unapproved posts have still standard background. In i look at thread source code, i see
<div class="postbody"> for every post.
Can anyone please help me what i'm doing wrong?
My vB version is 4.0.2.
Thanks in advance and sorry for my english
Holy