Skip to main content
Jul 28, 2021 2:00 PM UTC
Solved

custom label css not working

Hi ,

 

I am trying to call myLabelClass from the custom css in the property of the label.

But there is not success in this.
could someone help me out with this.

 

MK_9986318_0-1627480582532.png

MK_9986318_1-1627480626883.png

MK_9986318_2-1627480707804.png

 

Jul 28, 2021 2:22 PM UTC

Try adding !important after style properties, e.g.

 

.fonttest-style .widget-ptcslabel {
 font-size: 30px !important;
 color: #FF0000 !important;
}

 

2 replies

Jul 28, 2021 2:22 PM UTC

Try adding !important after style properties, e.g.

 

.fonttest-style .widget-ptcslabel {
 font-size: 30px !important;
 color: #FF0000 !important;
}

 

Aug 3, 2021 3:56 PM UTC

Hello MK_9986318

 

Try this:

 

.myLabelClass .widget-ptcslabel:not([no-wc-style]) {
    color: #003DA5;
    margin: 0;
}

 

I believe it will work like you expect.

 

Regards,

Peter