The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
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>"> Code:
<div <vb:if condition="$show['moderated']"> class="postbodymod" <vb:else /> class="postbody" </vb:if> > 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; } } Code:
.postbodymod { background: #ffeb90; } 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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|