Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Portal components
Hardcoregamer

Colour of Portal Titles

I want to change the colours of my portal titles from Black to White to make them more noticeable..I have the HTML Colour codes...just don't now where to insert under Overall_header.tpl??

If you take a look here: http://hardcoregamer.myfastforum.org/index.php

I would Like Current Time, Top Posters and Current Articles to be white instead of black....for readability...Thanks.
admin (no pm's please)

You have to edit the cms_...tpl file for each portal, these are accessed at the bottom of the template editing page.
Hardcoregamer

Thanks.

I got this from the cms_currenttime.tpl

Code:

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
   <tr>
        <th colspan="1" width="150" height="25" class="thCornerL" nowrap="nowrap">{L_CURRENTTIME_TITLE}</th>
     </tr>
  <tr>
   <td class="row2">

<center>
<span class="forumlink">
<script type="text/javascript" src="/portal_clock.js"></script>
<script language="JavaScript" type="text/javascript">show_clock()</script>
</span>
</center>

</td>
  </tr>
</table>



Where would I insert the colour code for White "#FFFFFF"

Also is it the same for the other portals?
admin (no pm's please)

there are many ways to skin a cat really this should be done at the class css level.
Hardcoregamer

Lost....???
Nick(NR)

admin (no pm's please) wrote:
there are many ways to skin a cat really this should be done at the class css level.


True, but if he is confused when you say css, then it's beyond him.


Soooo

<font color="#FFFFFF"> titlehere </font>
Danny M

I did this on mine too, so replace that code with this:

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
   <tr>
        <th colspan="1" width="150" height="25" class="thCornerL" nowrap="nowrap"><font color="white">{L_CURRENTTIME_TITLE}</font></th>
     </tr>
  <tr>
   <td class="row2">

<center>
<span class="forumlink">
<script type="text/javascript" src="/portal_clock.js"></script>
<script language="JavaScript" type="text/javascript">show_clock()</script>
</span>
</center>

</td>
  </tr>
</table>
Hardcoregamer

Thanks! All I had to do was add
Code:
<font color="white">
before each portal command.
Nick(NR)

what the hell is a command? it's a macro that defines what title will show on the chosen component, but yes in any case.

No idea why you still asked despite danny showing you an example
Hardcoregamer

I wasn't asking for more help...I was thanking Danny and announcing what my dumb error was... Wink

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum