MyBB Community Forums

Full Version: Title of "Announcements"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all.

Is it possible to put the title of the Announcements in ("fat") "black" ?

Thank you Wink
Do you mean bold....??
If you want to prefix them, follow the link in my sig, but if you only want to bold the titles, do this:
go to your templates and find under Forum Display Templates -> forumdisplay_announcements
<td class="trow_sep" colspan="{$colspan}">{$lang->forum_announcements}</td>
Replace that with
<td class="trow_sep" colspan="{$colspan}"><strong>{$lang->forum_announcements}</strong></td>
or, find under Forum Display Templates -> forumdisplay_announcements_announcement:
<td class="{$bgcolor}">
	<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
	<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
Replace that with:
<td class="{$bgcolor}">
	<a href="{$announcement['announcementlink']}"{$new_class}><strong>{$announcement['subject']}</strong></a>
	<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
For the actual title.
There you go.
It is not good...

I give you a screenshot of the result.
http://img140.imageshack.us/i/mybb.jpg/

I give you the full html :

Quote:<tr>
<td&nbsp;class="trow_sep"&nbsp;colspan="{$colspan}"><strong>{$lang->forum_announcements}</strong></td>
</tr>
{$announcements}

Quote:<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>
<td&nbsp;class="{$bgcolor}">
&nbsp;&nbsp;&nbsp;&nbsp;<a&nbsp;href="{$announcement['announcementlink']}"{$new_class}><strong>{$announcement['subject']}</strong></a>
&nbsp;&nbsp;&nbsp;&nbsp;<div&nbsp;class="author&nbsp;smalltext">{$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
{$rating}
<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>
{$modann}
</tr>

Thank you for help Smile
It's probably because it shouldn't be converting the spaces to &nbsp;
What can i do so ?
Revert the templates you edited to default and start again, and instead of copying and pasting the code in the post above, add the changes manually, it shouldn't happen then.
Hehe ! Problem is solved Smile

Thank you very much Smile