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

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;
}

 

View solution in original post

PEHOWE
15-Moonstone
(To:MK_9986318)

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

Announcements