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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to change font height and color for 2D label

skorlam
2-Explorer

How to change font height and color for 2D label

How to change font height and color for 2D label

2 REPLIES 2
ytella
17-Peridot
(To:skorlam)

Hi Srinivas,

Please follow the below instructions to change font size and color for 2D label:

  • In the label properties, copy the class name. You can use the default class-name or define a new name. If you choose the default class-name, it will be applied to all the labels in the application. If you want to change the styles for only a specific label, then use the unique class name for that label.

  • In the Project pain, expand the Styles option and Select Application.
  • This will open an editor view where you can enter the CSS code for your experience.

Hope this helps!

skorlam
2-Explorer
(To:ytella)

Thank you Yamini. 'STYLES>Application' worked. I even added font weight to make it look bold.

.simple-label {

  color: White;

  font-size: 14px;

  font-weight: 600;

}

Regards,

Srinivas

Announcements

Top Tags