Skip to main content
4-Participant
Dec 4, 2023 6:22 AM UTC
Solved

How to change the style of waypoints labels?

Hello dear PTC community,

In my vuforia studio project, I found that the waypoints labels text is too big.

I need to change the waypoints labels, such as color,size etc.

Please advise how can I do it.

Thank you.

4141208.png

18-Opal
Dec 4, 2023 7:01 PM UTC

You can affect some appearance characteristics by setting styles for the "waypoint-label" class, something like this:

 

.waypoint-label { font-family: serif; color: green; }

Unfortunately, none of the sizing attributes seem to have any effect--or rather, increasing the font size increases the size of the white background, but not the text itself.

5 replies

10-Marble
Dec 4, 2023 1:52 PM UTC

I don't know if there is a way to change wayfinder labels. I have always done this by creating my own 3D Labels in the same positions as corresponding waypoint, turn on the billboard option and change this Labels in CSS.

Pawel_D_0-1701697940268.png

 

Translate
4-Participant
Dec 5, 2023 12:52 AM UTC

Thanks for the reply.
There is a more convenient way in the solution.

Hope you can enjoy it.

Translate
18-Opal
Dec 4, 2023 7:01 PM UTC

You can affect some appearance characteristics by setting styles for the "waypoint-label" class, something like this:

 

.waypoint-label { font-family: serif; color: green; }

Unfortunately, none of the sizing attributes seem to have any effect--or rather, increasing the font size increases the size of the white background, but not the text itself.

Translate
4-Participant
Dec 5, 2023 12:50 AM UTC

That's is what i need! I tried it and it worked.

Thank you so much!

Best Regards

Translate
18-Opal
Dec 5, 2023 3:10 PM UTC

You're welcome, I'm glad it worked for you!

Translate