font awesome TreeNode icon color

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
kaizokun
Posts: 22
Joined: 29 May 2013, 14:44

22 Feb 2018, 16:50

Hello guys,

I desperately try to change the color of the icons in the tree component. I try this solution https://stackoverflow.com/questions/414 ... primefaces
using css classes but it doesn't work for me. Maybe because of the template ? I don't know I use Barcelona. The differents themes doesn't seem to change anything about the icon colors. If anybody has a solution I'd be very gratefull.

kaizokun
Posts: 22
Joined: 29 May 2013, 14:44

22 Feb 2018, 17:08

Found a solution


body .ui-widget-content .node-type-one{
color : #FBC02D;
}



then I put the node-type-one class into the icon attribute of the p:treeNode

kubrasulukan
Posts: 87
Joined: 10 Jan 2018, 16:04

23 Feb 2018, 08:21

Glad to hear !

Best Regards

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests