Currently, I am working on setting up a row of highlighted products on my website. It displays fine with 5 products on desktop view, but the challenge arises when it comes to viewing it on medium size devices where I want only 2 products to show, and eventually on mobile, I'd like to display just 1 product. I consulted Bootstrap's documentation on the Grid System and Rows here and attempted to use the row-cols
syntax, but unfortunately, nothing seemed to change. I am certain that I am missing something crucial, but I am unable to pinpoint the issue. Additionally, in the CodePen project that I've shared, the product information (image and text) seems to get squeezed.
If you'd like to take a look at my CodePen project, you can find it here.
Here is how the layout appears on my computer in desktop view (looking good):
And here is how it appears on my computer when I reduce the screen size, resulting in a less than optimal display: