Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Михаило on February 16, 2018, 11:55:29 AM

Title: Text in different color
Post by: Михаило on February 16, 2018, 11:55:29 AM
I would like to know how can I change color of this text?

https://prnt.sc/ifog70

Thanks
Title: Re: Text in different color
Post by: Sir Osis of Liver on February 16, 2018, 12:37:42 PM
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>';


Title: Re: Text in different color
Post by: marcottt3 on February 16, 2018, 06:07:07 PM
I also have that problem