The dropdown menu I am using to "sort products" on our WordPress website is causing some styling issues specifically on IOS devices.
I would like the dropdown menu to have rounded corners. It seems to display rounded corners on IOS, but it still shows the edges of its default styles and the overflow:hidden
property is not resolving the issue.
https://i.stack.imgur.com/ANyR4.jpg
Is there a way to remove these corners completely?
select {
width: auto;
height: 30px;
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
border-radius: 40px;
-khtml-border-radius: 40px;
text-indent: 7px;
overflow: hidden;
outline: 0;
}
<select name="orderby" class="orderby"><option value="popularity">Sort by popularity</option><option value="rating">Sort by average rating</option><option value="date">Sort by newness</option><option value="price">Sort by price: low to high</option><option value="price-desc">Sort by price: high to low</option><option value="alphabetical">Sort by name: A to Z</option><option value="reverse_alpha">Sort by name: Z to A</option><option value="on_sale_first">Show sale items first</option><option value="random_list" selected="selected">Random</option> </select>