The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Bootstrap Grid issue

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #272519

    Good day everyone,

    Hope you all are doing well.

    I am building product grid page however i am facing some bootstrap grid issues.

    Here is the example of my code

    How do I make it align nicely, three product in one row?

    Thanks in advance


    You don’t have three products in each row…you have 12 products in a single wrapping row.

    The issue is that because BS3 uses floats if the items aren’t all the same height you can get this stagger stepping since item 2 is taller than item 3 etc.

    I’d suggest breaking the 1 row with 12 items into 4 rows of 3 each (oh, and you should be using a .container wrapping div as well) or updating to something that makes the items the same height like BS4 which uses flexbox.


    Thanks Paulie appreciated your advice I managed to solve the issuse using Flexbox approach.


Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.