#oppositions-block { display: flex; flex-flow: row wrap; justify-content: center; .logo{ text-align:center; img { max-width:90%; max-height:150px } } .thumbnail { width: 30%; // max-width: 300px; min-width: 300px; margin: 10px; } .opposition-link { text-align: center; } }