Style question for datalist

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
uebachsr
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!
Rebecca

uebachsr
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: https://blog.thoughtram.io/angular/2015 ... ular2.html
Topic can be closed
thanks

Post Reply

Return to “Avalon - PrimeNG”

  • Information