Styling inputs, textareas, and select dropdowns in WordPress 6.9 #407
Locked
justintadlock
started this conversation in
Topic Ideas
Replies: 1 comment
-
The topic is approved, and conversation continues on the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WordPress 6.9 introduces two new elements to
theme.json
:textInput
(for both inputs and textareas) andselect
:We should have a tutorial that walks theme authors through using these, which Core blocks they affect, and encourage testing with third-party plugins that contain forms.
Note: there's still one big limitation with this feature: no state styling. For example, these do not support things like
:focus
, so custom CSS may still be required. There is a PR to address that, however:Beta Was this translation helpful? Give feedback.
All reactions