I can’t figure out how to fix the overlap title text int he woocommerce cart address change form:
I’m ok with one of two options, having the text outside of the box, or making the field taller so that the input text does not overlap. any suggestions?
shortwave.coffee is the webpage
Hey designmek,
Please try the following in Quick CSS under Enfold->General Styling:
.wc-block-components-combobox .wc-block-components-combobox-control label.components-base-control__label {
top: -27px;
}
Best regards,
Rikard
Hi Rikard,
Thanks for your help. i had to add !important; however it only fixed the country and state fields. City and Zipcode still show as an overlay.
Hi,
Thank you for the screenshot.
Is the issue only visible on mobile view? If so, then you can try this css code to hide the label when the input field is active.
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input.is-active label {
opacity: 0;
}
}
If the issue is also happening on desktop view, remove the css media query.
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input.is-active label {
opacity: 0;
}
Best regards,
Ismael
It was on desktop too. The code below did the trick.
If the issue is also happening on desktop view, remove the css media query.
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input.is-active label {
opacity: 0;
}
Thanks!