News:

Follow us on Bluesky!

Main Menu

News banner

Started by nina-nina, May 09, 2009, 01:28:18 PM

Previous topic - Next topic

nina-nina

I would like the letters in the news bannerr NOT to be in bold.  Right now, there is not a choice and in bold the letters look almost one in top of the other.

If I am not mistaken, I have seen someplace around this forum a way of making these letters regular and not in bold letter but I can't find it.  Am I correct and there is a way of doing what I want? Thank you.

[SiNaN]

./Themes/{your_theme}/BoardIndex.template.php

Code (Find) Select
var smfFadeBefore = "<b>", smfFadeAfter = "</b>";

Code (Replace) Select
var smfFadeBefore = "", smfFadeAfter = "";
Former SMF Core Developer | My Mods | SimplePortal

nina-nina

#2
Found it and changed it! Thank you.  :)

Another question... Can the font of the news banner be changed?  And if it can be changed. where?

[SiNaN]

Then you can change it to this:

var smfFadeBefore = '<span style="font-family: {font_here};">', smfFadeAfter = '</span>';
Former SMF Core Developer | My Mods | SimplePortal

nina-nina

#4
Quote from: Blue Dream on May 12, 2009, 12:25:24 PM
Then you can change it to this:

var smfFadeBefore = '<span style="font-family: {font_here};">', smfFadeAfter = '</span>';

Mmmm. Confused...   :o  What should I change?  You will have to give me detailed instructions.  My knowledge of templates is 0 and I need to know what to do to the last period.

[SiNaN]

After you've done the first change I mentioned, to remove the bold property, do this:

./Themes/{your_theme}/BoardIndex.template.php

Code (Find) Select
var smfFadeBefore = "", smfFadeAfter = "";

Code (Replace) Select
var smfFadeBefore = '<span style="font-family: {font_here};">', smfFadeAfter = '</span>';
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: