Hi all !!
Here is a small modification you can do to have a different background in posts, set to specific users, in postbit legacy.
First lets add the css.
Styles & Templates --> Style Manager --> Choose which style you want to work with, then choose Edit Templates,scroll down till you see CSS Templates, double click on that, then double click on additional.css
It that template add the following at the end:
Then click on Save.
Load your background image that you want to use to your images folder. I used the one attached to test on my local machine:
Make sure the proper image name is put in the above code, background: url(images/chain_gradient.jpg);
Now for the template edit. In the same style search for Postbit Templates, double click on that and then find postbit_legacy, and double click on that.
In that template find the following bit of code:
And replace it with this code:
Replacing the X with the userid's you want to have the different background. You can add as many users as you want, just as long as you separate each userid with a comma ,
Then click on Save.
I don't have any screenshots at the moment, I'll try to get some. Or if some of you use this mod, please share a screenshot of what you have done.
Here is a small modification you can do to have a different background in posts, set to specific users, in postbit legacy.
First lets add the css.
Styles & Templates --> Style Manager --> Choose which style you want to work with, then choose Edit Templates,scroll down till you see CSS Templates, double click on that, then double click on additional.css
It that template add the following at the end:
Code:
/* Specific Users Post Background */
.postbitlegacy .postbody_specific_user, .eventbit .eventdetails .eventbody
{
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: url(images/[COLOR=Red]chain_gradient.jpg[/COLOR]); repeat;
padding-bottom: 1em;
}
/* Specific Users Post Background */
Load your background image that you want to use to your images folder. I used the one attached to test on my local machine:
Make sure the proper image name is put in the above code, background: url(images/chain_gradient.jpg);
Now for the template edit. In the same style search for Postbit Templates, double click on that and then find postbit_legacy, and double click on that.
In that template find the following bit of code:
Code:
<div class="postbody">
Code:
<vb:if condition="in_array($post['userid'], array([COLOR=Red]X[/COLOR],[COLOR=Red]X[/COLOR],[COLOR=Red]X[/COLOR]))">
<div class="postbody_specific_user">
<vb:else />
<div class="postbody">
</vb:if>
Then click on Save.
I don't have any screenshots at the moment, I'll try to get some. Or if some of you use this mod, please share a screenshot of what you have done.