Change text color in widget

Raphael D_
Kilo Sage

Hi All,

I have created a new service portal page (London instanz) which is showing a table. I use the widget "Data Table from Instance Definition". ( a copy oft that) I want to achive that the heading text is also in color black.

 

find_real_file.png

 

How can achive this? It seems easy via CCS in the widget self, but it doesen't work. I tryed: 

text-info {
color: black;
}

and a lot of other variantes......
Also tryed a control via CSS on level page, on level portal e.c.t

Does somebody has any idea?

BR,
Raphael

1 ACCEPTED SOLUTION

VigneshMC
Mega Sage

Try this 

add below code to page you want this change

.th-title{
  color: black !important;
  
}

find_real_file.png

 

find_real_file.png

 

It should work if you add this to widget css as well.

View solution in original post

11 REPLIES 11

Ravi T
Tera Guru

write below code in the css 

when where you will use table tag text will be shown in black

table,th{

color: black;

}

Try it and let me know

Regards

Ravindra

Raphael D_
Kilo Sage

Hi Ravindra

thank you for the quick answer. Unfortunately, does not work. the heading text is still blue.

BR,
Raphael

 

Hi

Can you share the css and html code ?

Regards

Ravindra

please, see the code in the attachment.

BR,
Raphael