If you need to center your content and restrict it's width, there are some containers built in
This content will have a limited width
Depending on your content, you can adjust the size of the container:
The result should be like this (best viewed on desktop):
This content will have a limited width
This content will have a large limited width
This content will have a small limited width
This content will have a tiny limited width