Last active
December 2, 2023 18:51
-
-
Save softiconic/8a0308b626c86d19fab0c911308c26c4 to your computer and use it in GitHub Desktop.
In Contact Form 7, set the first option as the label for a SELECT field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[select* scteto first_as_label "select one" "item1" "item2" "item3" "item4" "item5"] | |
+ Design custom arrow | |
select { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; | |
background-image: url(../images/select-drop.svg); | |
background-repeat: no-repeat; | |
background-position: right center; | |
background-size: 17px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment