Classic Dropdown Format Problem
-
Hi, i unfortunately cannot really figure out what’s wrong with my dropdown inputs, when building a form. Following problem always appears:
When something is selected, the “x” to cancel the choice is not displayed properly – it should be displayed in the vertical center of the dropdown input, but it’s always way too low, like there’s some extra margin on top of the x.
When i inspect my page with chrome i can find the element and fix it by changing the value “top” to 25% instead of 50%, but when i copy the css into my page’s css it doesn’t work when reloading the page. Can anybody suggest the right css changes for this to be fixed?
div.wpforms-container .wpforms-form .choices[data-type*=”select-one”] .choices__button {
background-image: url(../images/cross-inverse.svg);
padding: 0;
background-size: 8px;
position: absolute;
top: 50%; // WORKS WHEN THIS VALUE IS CHANGED TO 25%
right: 0;
margin-top: -10px;
margin-right: 25px;
height: 20px;
width: 20px;
border-radius: 10em;
opacity: .5;
}Thank you and kind regards,
Lukas
- The topic ‘Classic Dropdown Format Problem’ is closed to new replies.