My goal is to achieve a Bootstrap 4 layout like the one shown in the image linked below:
https://i.sstatic.net/gY6m5.png
For large devices, I want the Search Form, CTAs, and Button ads to be arranged vertically in a column that spans 4 units, while the Content will take up the remaining space on the right side (with variable content that can expand downwards).
On small devices, I need the Search Form, CTAs, Content, and Button ads to stack in that order, taking up the full width of the screen.
I've attempted to use grid ordering classes to achieve this layout, but I'm facing difficulties specifically with getting the Content to align beside the other items rather than below them. The code snippets I've tried are provided below:
This question appears to address a similar issue, but it mentions the absence of push/pull classes?
Here are my attempts at the code:
<div class="row align-items-start">
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: red;"></div>
</div>
<div class="w-100"></div>
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: blue;"></div>
</div>
<div class="w-100"></div>
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: green;"></div>
</div>
<div class="w-100"></div>
<div class="col-md-8 offset-md-4">
<div style="height:50px;width:100%;background-color: yellow;"></div>
</div>
</div>
<div class="row ">
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: red;"></div>
</div>
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: blue;"></div>
</div>
<div class="col-md-4">
<div style="height:50px;width:100%;background-color: green;"></div>
</div>
<div style='float:right;' class="col-md-8 offset-md-4">
<div style="height:50px;width:100%;background-color: yellow;"></div>
</div>
</div>