I am in the process of building a custom WordPress theme from scratch, and I have created a template for the posts that will dynamically appear on the front page. To achieve the desired layout, I am utilizing Bootstrap 5.
The structure includes a container div containing a div for categories and separate divs for blog posts. Placing the blog post div inside a parent div resulted in the image appearing above the article title, which is not the intended design. Here is the look I am aiming for:
https://i.sstatic.net/Rktxu.png
How can I achieve this desired layout while keeping the article image and related divs within a parent div? What would be the best approach to achieve this layout?
<!DOCTYPE html>
<html lang="en">
... (full HTML snippet provided)
^ Click 'Expand' to view the snippet in full-page mode, showcasing the categories section as well.