.top-franchise-opportunities { padding-top: 15px; } .top-franchise-opportunities .card{width: 100%;height: auto;} ul.top-franchise { display: flex; flex-wrap: wrap; list-style: none; padding-left: 0px; } li.wtq { width: 20% !important; padding-right: 4px; padding-left: 2px; } .top-franchise .brand-md-image-section{height: 86px; width: 192px; background-color: #fafafa; display: table; position: relative; } .top-franchise .brand-main-section{ display: table-cell;height: 86px;width: 192px; vertical-align: middle;} .top-franchise .brand-main-section img{height: 86px;width: 192px;border: 1px solid #e5e5e5; overflow: hidden;} @media only screen and (min-width:993px) and (max-width:1199px){ li.wtq{width: 25%!important;} } @media only screen and (min-width:769px) and (max-width:992px){ .top-franchise-opportunities .card{width: 100%!important;} li.wtq {width: 33.33% !important;} .top-franchise .brand-main-section{margin: auto!important;} } @media screen and (max-width: 768px) { .top-franchise { overflow: auto; flex-wrap: nowrap !important; padding-left: 0px; } li.wtq { width: 100%!important; } }