How to Style Only One “Option” in a Select Menu
-
Hello there! I have a select menu with some options. I would like the first option, which is actually the label, not to show in the dropdown. I was thinking I could do this with CSS by targeting the first option in the list and hiding it, but this is not effective.
Is there a way to use the first item as the label and remove it from the dropdown?
Here’s an example where I would want “event size” to not be in the dropdown list, as it’s the dropdown label and not an option.
Screenshot:
https://snipboard.io/5DpRMa.jpgThank you in advance!
The page I need help with: [log in to see the link]
- The topic ‘How to Style Only One “Option” in a Select Menu’ is closed to new replies.