/* Store products banner */ .store_banner { width: 100%; min-height: 0.5in; max-height: 2in; overflow: hidden; display: flex; flex-wrap: wrap; flex-width: 2in; justify-content: center; } .product_img { width: 1in; height: 0.5in; display: inline-block; padding: 0px; margin: 0px; } @media only screen and (min-width: 7in) { .product_img { width: 2in; height: 1in; } }