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

XF 1.4 How to highlight "Account Upgrades"?

Brogan

XenForo moderator
Staff member
#2
You can't target the link using CSS as it doesn't have a unique ID, so you will have to edit the navigation_visitor_tab template and you can use inline styling or apply a class.

Code:
<xen:if is="{$xenCache.userUpgradeCount}"><li><a style="background-color: orange" href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></li></xen:if>
upload_2015-2-26_19-36-0.png
 

clove28

Active member
#4
You can't target the link using CSS as it doesn't have a unique ID, so you will have to edit the navigation_visitor_tab template and you can use inline styling or apply a class.

Code:
<xen:if is="{$xenCache.userUpgradeCount}"><li><a style="background-color: orange" href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></li></xen:if>
View attachment 99610
Thanks Brogan & Maru! That worked! ;)