Style question for datalist

Post Reply
Posts: 2
Joined: 06 Mar 2018, 10:14

06 Mar 2018, 10:26

Hello support team,
I'm trying to remove the background color of our Datalist.
We use the theme avalon and I tried to change the color in our component.
The goal is: not to change the theme in general.
The color is defined in class "ui-widget-content" and I tried to style it but it won't work whatever I try to select in our style sheet.
body .ui-widget-content {
background-color: transparent;
border: 0px;
I also tried .ui-widget-content and so on...
I'm happy about every help.

Thanks in advance!

Posts: 2
Joined: 06 Mar 2018, 10:14

07 Mar 2018, 10:49

I found the answer, I needed Encapsulation
For all who have the same problems: ... ular2.html
Topic can be closed

Post Reply

Return to “Avalon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest