.custom-button { background: white; margin-bottom: 0px; border: 1px solid #ccc; border-radius: 20px; width: 100%; max-width: 105px; height: 100px; padding: 10px; min-width: 96px; } .iconBox { display: block; width: 100%; position: static; } .iconBox img{ margin: 0px auto 10px !important; display: block; width: 35px; // max-width: 35%; } .titleBox { display: block; } .pClass { font-size: 9px; text-align: center; margin-top: 10px; color: black; font-weight: bold; }