#wrapwrap .s_product_list { padding: 15px; /* [class*="col-"] { padding-right: 5px; padding-left: 5px; } .card-footer { background-color: rgba(133, 187, 4, 0.3215686274509804); }*/ > div > .row > div { margin-bottom: 5px; // without this style the columns go directly to the top of the bellow ones. height: 200px; text-align: center; a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } img { margin: auto; max-height: 130px; @include s-product-list-img-hook; } .s_product_list_item_link { @include o-position-absolute($left: 10%, $bottom: 0, $right: 10%); > .btn { width: 100%; padding: 5px !important; font-size: 16px; text-transform: uppercase; @media only screen and (max-width : 1280px) { // FIXME font-size: 12px; } .fa { font-size: 18px; padding-right: 5px; @media only screen and (max-width : 1024px) { // FIXME display: block; font-size: 25px; } } } } } }