News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Text in different color

Started by Михаило, February 16, 2018, 11:55:29 AM

Previous topic - Next topic

Михаило

I would like to know how can I change color of this text?

https://prnt.sc/ifog70 [nofollow]

Thanks

Sir Osis of Liver

Not the most elegant way to do it, but simplest -

index.template.php



if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li><a style="color: red;" href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

marcottt3


Advertisement: