MyBB Community Forums

Full Version: How Can i add colored News ??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Like this forum, i want to add colored news section in navbar...
How can i do ??

Latest News: MyBB 1.1.7 Released (28/07/2006)

Are you on the MyBB mailing list? - Sign up for notification of new MyBB releases and updates.

Now running MyBB 1.2! See this thread for more information.
Again, moving to Templates, Themes, and Graphics.

Please post in the correct forum next time.
Quote:.notice {
background: #ADCBE7;
border-top: 2px solid #0F5C8E;
border-bottom: 2px solid #0F5C8E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;

then in your index templates, put soemthing like this

Quote:<p class="notify>MyBB updates can be found here</p>
in index templates, where should i put this code ??

.notice {
background: #ADCBE7;
border-top: 2px solid #0F5C8E;
border-bottom: 2px solid #0F5C8E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
You don't put it in the Index template.

You put it in the Additional CSS Field of your theme.

You put:

<p class="notify>MyBB updates can be found here</p>

On the index template, right before:

$forums
I would put it in your Additional CSS of the theme.
I'm sorry, where is "Additional CSS Field of your theme."

Im not prof. of MyBB yet ! Smile
ACP - Themes ( Modify/Delete ) - expand the theme you're using - scroll down until you reach the bottom of your page, there will be textarea "Additional CSS", put that code there
Oh, ok... Thnks...
But i have a problem...
It doesnt appears Confused
www.forumistan.net

My code is this >

<html>
<head>
<title>$settings[bbname]</title>
$headerinclude
</head>
<body>
$header
$welcomepanel
$overview
$forums <p class="notify>Deneme deneme deneme</p>
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead" colspan="">
<div class="expcolimage"><a href="java script:expandCollapse('boardstats');"><img src="$theme[imgdir]/collapse$collapsedimg[boardstats].gif" id="boardstats_collapseimg" border="0" alt="[-]" /></a></div>
<div><strong>$lang->boardstats</strong></div>
</td>
</tr>
</thead>
<tbody style="$collapsed[boardstats_e]" id="boardstats_e">
$whosonline
$birthdays
$forumstats
</tbody>
</table>
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
</tr>
</thead>
<tbody style="$collapsed[boardstats_e]" id="boardstats_e">
<!-- ASOIP_2_0_I -->
</tbody>
</table>
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="left">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td><img src="$theme[imgdir]/on.gif" alt="$lang->new_posts" /></td><td class="trow"><span class="smalltext">$lang->new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/off.gif" alt="$lang->no_new_posts" /></td><td class="trow"><span class="smalltext">$lang->no_new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/offlock.gif" alt="$lang->forum_locked" /></td><td class="trow"><span class="smalltext">$lang->forum_locked</span></td></tr>
</table>
</td>
<td valign="top" align="right">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td valign="top" align="right">
<span class="smalltext">$logoutlink<a href="misc.php?action=markread">$lang->markread</a> | <a href="showteam.php">$lang->forumteam</a> | <a href="stats.php">$lang->forumstats</a></span>
</td></tr>
$loginform
</table>
</td></tr>
</table>
</td></tr>
</table>
$footer
</body>
</html>
Pages: 1 2