if bootstrap columns is greater than 4 in row javascript code example Example: bootstrap grid class col-12 col-sm-4 col-md-3 col-lg-12 col-xl-12