tiling background image behind posts

SirGarfield

New Member
Put a tiling background image behind posts in showthread.

I know it's a pretty small mod but I have seen it asked a fair bit here and on vB.com so I figure maybe one or two folk might find this helpful.

Create your tiling image.
Name it posttile.jpg
upload posttile.jpg to your skins misc folder
.

Attached is a nice christmassy example you could use for default skins:

Add the following to your skins Additional CSS Definitions (changing your_skins_name_here to your skins name!):

For Default vB Skin:

Code:
.posttiler {
   background-color: #F7F7F7;
   background-image:    url(images/misc/posttile.jpg);
   background-repeat:   repeat;
   background-position: top center;
}

For Custom Skins (location of misc folder may differ!)

Code:
.posttiler {
   background-color: #F7F7F7;
   background-image:    url(images/your_skins_name_here/misc/posttile.jpg);
   background-repeat:   repeat;
   background-position: top center;
}

save


Open:

postbit

Find:

Code:
<tr>
	<if condition="$show['moderated']">
	<td class="alt2" id="td_post_$post[postid]">
	<else />
	<td class="alt1" id="td_post_$post[postid]">
	</if>	
	<!-- message, attachments, sig -->

		$template_hook[postbit_messagearea_start]

		<if condition="$show['messageicon'] OR $post['title']">


In-line Find:

Code:
alt1


Replace with:

Code:
posttiler

save file


Additional Notes from The Reverend:

Some confusion has arisen regarding the misc image folder, I have altered the instructions above to make things a little clearer for those not so sure. Please keep in mind that some Custom skins locate the images in other places, you'll need to alter the URL to the posttile.jpg to better suit where your Skins images folder is housed. I can't post instructions for every single possible variant you understand.

(this is The Reverend's, not mine!)
 
Back
Top