Pyrobyte
01-20-2009, 10:00 PM
vBAnnounce Beta
Just a little template edit I came up with to make an important announcement stand out...
Ad Location Templates > ad_header_end | Add this code to the template.
<if condition="$show['member']">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="center">
YOUR TEXT AND HTML TAGS HERE
</td>
</tr>
</table>
</if>
Replace the bold red text saying "YOUR TEXT AND HTML TAGS HERE" with exactly what it says. Your text and HTML tags. You can also change who this is viewable to by changing $show['member'] to $show['guest'], ect. You can change the text align by either putting <P align="left">, <P align="right">, or <P align="center">. The default is center. To change the align of the text you could also change the text saying "center" in the following code to "left" or "right". <td class="alt1" align="center">
Enjoy! :)
Just a little template edit I came up with to make an important announcement stand out...
Ad Location Templates > ad_header_end | Add this code to the template.
<if condition="$show['member']">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="center">
YOUR TEXT AND HTML TAGS HERE
</td>
</tr>
</table>
</if>
Replace the bold red text saying "YOUR TEXT AND HTML TAGS HERE" with exactly what it says. Your text and HTML tags. You can also change who this is viewable to by changing $show['member'] to $show['guest'], ect. You can change the text align by either putting <P align="left">, <P align="right">, or <P align="center">. The default is center. To change the align of the text you could also change the text saying "center" in the following code to "left" or "right". <td class="alt1" align="center">
Enjoy! :)