Introduction to Bootstrap 5 Challenge: Greetings! I am currently exploring Bootstrap 5 after a hiatus of two years, and I have encountered a problem. Despite reviewing the documentation on the official Bootstrap 5 website, I am unable to position the new card below the main profile information section while ensuring that the post card still occupies half the screen on the other side. I have attempted moving elements around but haven't been able to find a solution.
Code Snippet for Main User Information Section
<div class="row">
<div class="col">
<main id="profileMain" class="profileContainer">
<div class="card border border-dark border-2 shadow-lg bg-body">
<div class="ml-3 w-100">
...
</div>
</main>
</div>
Code Snippet for Post Section
<!-- Post Status Update Section -->
<div class="col">
<main id="profilePost" class="profilePost">
<div class="card p-3 border border-dark border-2 shadow-lg bg-body">
...
</div>
</main>
</div>
Code Snippet for the Friends Section
<div class="row">
<div class="col">
<main class="profileFriendSection" id="profileFriendSection">
...
</div>
All CSS Code
.profileContainer {
padding: 15px;
max-width: 900px;
}
.profilePost {
padding: 15px;
}
.postStatusField {
resize: none;
}
<script src="https://kit.fontawesome.com/bef4f1371d.js" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="72101d1d06010600130232475c405c42">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" />
...
</head>
<div class="container-fluid">
<div class="row">
<div class="col">
<main id="profileMain" class="profileContainer">
...
<!-- Post Status Update Section -->
<div class="col">
<main id="profilePost" class="profilePost">
...
</div>
</div>
...
</div>
</head>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="88eae7e7fcfbfcfae9f8c8bda6baa6b8">[email protected]</a>/dist/js/bootstrap.bundle.min.js"></script>
If you have any insights or solutions on how to address this issue with my Bootstrap 5 layout, I would greatly appreciate your input!