Hey @Stolichnaya I’m glad to see that you like to experiment with builder. When comes to text alignment there is one handy option for that, in the typography panel you can find align options for text:
And one advice, if you want to center multiple text elements like I did here (I have my heading and paragraph centered) you just need to set this alignment option to the parent of your text tags, that way you will set all of your text tags inside of your parent to be centered, just like I did in this example:
So it is always better to use text-align for text instead of the other options: display flex, direction, horizontal, padding, and position options. right?
Your tip for aligning parent and child is amazing!
If this centering method doesnt work just set those align options directly to the text tags. And for the width of the text, best option is to set maximum width to your text tag, you can find that option here:
In this case you can set max-width: 200px or something on your paragraph.
If text was centered, alternative would be to set padding on sides, like 20px padding both sides. And if text was centered, you can also use max width, but in that case you would need to center margins. You can center margins if you click icon below:
When you set an element’s margin to auto, it basically tells the browser to automatically distribute the available space evenly on both sides (left and right) of the element. This results in the element being centered.