Hi,
Has anyone utilised custom code to change the arrow icon within a form select field to a custom icon?
Any help appreciated.
Thanks
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Hi,
Has anyone utilised custom code to change the arrow icon within a form select field to a custom icon?
Any help appreciated.
Thanks
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Hi is anyone able to help?
Thanks,
Scott
@scottalexwatson I guess is it possible, but your link is not working. And which kind of icon?
Hi Matthias,
Apologies I never added a link. Here it is below.
Attached is an idea of how I would like the form select field to look.
@scottalexwatson I tried it yesterday to get a solution for your issue. And yes its possible!
<style>
.w-select {
/* resetting default form style*/
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border: none;
}
.select-wrapper::before {
background-image: url(https://uploads-ssl.webflow.com/your-icon.png);
background-size: 20px 20px;
height: 20px;
width: 20px;
display: inline-block;
content:"";
position: absolute;
right: 15px;
top: 10px;
}
</style>
And you have to wrap your “Select Field” with a wrapper.
Hi Matthias,
This is perfect thanks so much for your help!
Cheers
Scott
I’ve discovered a handy workaround: simply add a background image to the field, adjust its size and position, and it will overwrite the previously generated icon.