1. 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...

Discussion in 'Styling and Customization Questions' started by adwade, Sep 15, 2015.

  1. adwade

    adwade Active Member

    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?
  2. Amaury

    Amaury Well-Known Member

    In the navigation template, find:

    <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:

    <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>
    vanucci and adwade like this.
  3. adwade

    adwade Active Member

    Thanxx Amaury, that worked just fine…:cool:
    Screen Shot 2015-09-14 at 10.40.15 PM.jpg

Share This Page