MyBB Community Forums

Full Version: edit only part of "small text"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everyone,

First off I just wanted to send a shout out to everyone who has offered me help so far. My forum is really shaping up!

On to the question...

Is there any way to only change the color of the text where it says : "User(s) browsing this forum: user1, user2, 1 Guest(s)"

In the past when I have tried to change this it ends up changing the font color of everything in the "small text" class.

Any suggestions?

Here is my forum: http://avoidingcorn.com/
....bump
index_boardstats template
wrap {$whosonline} in its own span
Go to:
AdminCP > Templates & Style > Themes > YOUR THEME > Open global.css

Add this code:
.userbrowsing {
         font-size: 11px;
         color: COLOR HERE;
}

After that, navigate to:
AdminCP > Templates & Style > Templates > YOUR THEME TEMPLATES > Forum Display Templates > forumdisplay_usersbrowsing

Replace the whole code with this:
<span class="userbrowsing">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />

I didn't test it, but it should work.
Pretty bad practice to do that in the Language file b
(2013-01-09, 05:48 AM)brad-t Wrote: [ -> ]Pretty bad practice to do that in the Language file b

What the hell are you talking? There are no changes in the language files.