I am a newbie to Bootstrap and I've encountered an issue with content placement in a container. Even though most of the content is within the container, there seems to be a part (refer to picture container_fail) that is not enclosed properly. Please refer to the image (container_fail). Can anyone guide me on what mistake I might be making here to prevent this? It could be something basic that I'm missing. Your assistance would be highly appreciated!
This is the code snippet I've come up with so far:
.container#parallex {
background: black;
}
/* Parallax */
#plx {
...
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet"/>
<section id="plx">
<div class="container">
<div class="wtitle text-center text-light">
<h2>
Lorem ipsum dolor sit.
</h2>
</div>
</div>
</section>
<section id="treppen">
<div class="container">
<div class="text-muted" id="text5">
Add your content here...
</div>
</div>
</section>