• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How to change the color of the 'New Posts' text...

adwade

Active member
#1
I'm trying to discover how to make the white New Posts text appear as a light green color. I tried finding the phrase new_posts and revising it to <font color="#40FF00">NEW Posts</font> which appeared to work just fine…
Screen Shot 2015-09-14 at 7.07.09 PM.jpg
until I also saw this…
Screen Shot 2015-09-14 at 7.07.25 PM.jpg
I'm sure I'm w-a-y off-base on how to accomplish this, so could someone point me to a lesson about this?
 

Amaury

Well-known member
#2
In the navigation template, find:

Code:
<li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
Make the changes in red below:

Code:
<li><a href="{xen:link 'find-new/posts'}" rel="nofollow"><font color="red">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</font></a></li>