.payment-badges {
display: flex; /* Arrange badges horizontally */
flex-wrap: wrap; /* Allow badges to wrap to the next line on smaller screens */
gap: 10px; /* Add some space between the badges */
justify-content: flex-start; /* Align badges to the left */
align-items: center; /* Vertically align the badges within the container */
}
.payment-badge {
/* You can adjust the height and width as needed */
height: 30px; /* Example height - adjust based on your preference */
display: flex;
align-items: center; /* Vertically center the image within the container */
}
.payment-badge img {
max-height: 100%; /* Make the image scale down to fit the container */
display: block; /* Prevent extra space below the image */
}
/* Optional: Adjust for smaller screens */
@media (max-width: 600px) {
.payment-badges {
justify-content: center; /* Center badges on smaller screens */
}
}
Choosing a selection results in a full page refresh.