MyBB.de Forum
wer ist online - location - farbig - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Theme-Diskussionen (https://www.mybb.de/forum/forum-84.html)
+--- Thema: wer ist online - location - farbig (/thread-32792.html)



wer ist online - location - farbig - hkkp - 20.10.2015

PHP-Code:
<tr>
<
td class="trow1">{$online_name}{$user_ip}</td>
<
td align="center" class="trow2">{$online_time}</td>
<
td class="trow1" width="50%">{$location}</td>
</
tr

in der wer ist online anzeige würde ich gern die location farbig hervorheben, wie kann ich dies realisieren. danke!


RE: wer ist online - location - farbig - SvePu - 20.10.2015

Füge einfach einen Inline-Style ein, z.B.::
PHP-Code:
<td class="trow1" width="50%" style="color:red;">{$location}</td

EDIT:
Noch besser ist es wenn du einen neue CSS Klasse hinzufügst, dann könntest du die Farbe der Links ebenfalls anpassen, z.B.:
PHP-Code:
<td class="trow1 onlinelocation" width="50%">{$location}</td

.. in der global.css des Themes kannst du dann die CSS-Klasse "onlinelocation" definieren, z.B.:
Code:
.onlinelocation,
.onlinelocation a {
   color: red;
}



RE: wer ist online - location - farbig - hkkp - 20.10.2015

nee, da färbt sich nicht die location, also die seite, wo der online-user gerade ist...


RE: wer ist online - location - farbig - SvePu - 20.10.2015

Bitte, siehe EDIT !!!


RE: wer ist online - location - farbig - hkkp - 20.10.2015

vielen dank!