.banner-thumbnail-wrapper { background-size: contain !important; background-repeat: no-repeat !important; background-position: center center !important; height: auto !important; min-height: 300px; /* Optional: set a minimum height */ }