Hi everyone,
I’m using Dawn theme v15.4.0 on my live product page. I used some custom CSS to make the variant size option boxes bigger, and it worked however, it caused the size text inside the boxes to sit too high (not visually centered), which looks off.
Here’s the code I used:
.product-form__input input[type="radio"] + label {
min-height: 52px; /* adjust height */
min-width: 52px; /* adjust width if you want square */
font-size: 16px; /* optional */
display: flex;
align-items: center;
justify-content: center;
}
Does anyone know what CSS I can add to push the size text down slightly so it appears centred vertically inside the box?
Thanks!
Website: crepscity.com