As I was alluding to above…the way I understand it…
I wasn’t specific enough with the selectors in the original code…and although visually it didn’t affect the titles, it apparently was doing so behind the scenes…the original code also didn’t include the custom menus on the sub-menu pages (don’t know if you added them later or I missed them)…
With the introduction of rdellconsulting’s code, the two were both acting on the title of the custom menus on the menu pages but only rdell’s was acting on the ones on the sub-menu pages…
If both changes were requested at the same time, I would have seen this issue and I would have been more specific with the selectors…I will now know better in the future…I learn new things every day…
The new code is still fairly generic and both codes are still acting on the title…if you want to make it absolutely proper where each code does its own thing…change .widget_nav_menu
to .widget_nav_menu li a
in my code not rdell’s…BUT…you will have to change both codes’ em
values…