cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

custom label css not working

MK_9986318
5-Regular Member

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

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

 

View solution in original post

2 REPLIES 2

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

 

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

 

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

Top Tags