I want to build a container which has its content both vertically and horizantally. Help me please. You can find my attempt in the attachment.
Container Centered Content
3 replies · opened Dec 19, 2020
Hello,
Apologies for the Misunderstanding, however, we are not sure about your query according to the Image provided. Can you please provide us with a more elaborate example of what you are looking for, so that we can look into this for you. Additionally, you can consider checking out these Utility Classes: https://getbootstrap.com/docs/4.5/utilities/flex/ to Center the Contents vertically/horizontally.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Which part of it you don't understand? Basically, i want to build a container and put a text middle of it vertically and horizontally.
<div class="container-fluid" style="background: #ff3d00;float: none;margin: 0 auto;">
<div class="row justify-content-center">
<p>Insert Text Here</p>
</div>
</div>
I tried like that but it didn't workout.
Hello,
Well, we were not sure about the Example Image you had provided us with the previous reply, which is why we had asked for a Confirmation.
You will need to set a Fixed Height of the Container. Consider using this code:
[ch_pre]
Vertically/Horizontally Centered Text
[/ch_pre]
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard