How do I change the position of my element labels?
Last updated
Last updated
It's not possible to control text position when you're using the SNA template, or any view that has "fast" quality or uses the WebGL renderer.
If you want to change the position of your element labels for all elements, follow these steps:
Click on the settings icon on the right side of your map
Click Customize defaults
Look for "Default label position" under "Element defaults". You can change the position of the labels to "bottom" or "center."
To change the element label position for a specific set of elements, you'll need to use the advanced editor. You'll be using the text-align
property to make the change, where the options are bottom
and center
.
To change the element label position from "bottom" to "center" so that the labels will appear inside of the elements, you'll want to add text-align: center;
under a selector for the specific set of elements. For example, if you want to change the element label position from "bottom" to "center" for all your elements of the type "person" add this to the advanced editor: