.widget-thumb .person-img { position:relative; width:100%; height:0; padding-bottom:95%; background-repeat:no-repeat; background-position:center center; background-size:cover; border-radius: 20px; } .emd_employee .widget-thumb { width:250px; padding:5px; position:relative; } .widget-thumb a.person-name{ background-color: black; bottom: 5px; opacity: 0.6; position: absolute; text-align:center; width: 240px; border-radius: 20px; color: #428bca; text-decoration: none; }