Closed
Description
Quick summary
The Search Block Input field's background color cannot be changed; editing the background color only changes the associated button. There's no separation when editing the input field independent of the search button.
8779080-zd-a8c
Steps to reproduce
- Open a simple or atomic site and insert a Search Block or edit an existing one.
- The site can be on WordPress.com or WordPress.org
- Use a classic or block theme.
- This can be done on a page, post, or template (for FSE themes).
- Select the search block and change the background color in the block settings.
What you expected to happen
- To have the ability to change the background color of the Search Block input field.
What actually happened
- Changing the background color of the Search Block only affects the associated search button.
Impact
All
Available workarounds?
Yes, easy to implement
If the above answer is "Yes...", outline the workaround.
Apply custom CSS:
.wp-block-search .wp-block-search__input[type="search"] {
background-color: [#97E7F5](editor://hashtag#97E7F5)
}
Platform (Simple and/or Atomic)
Simple, Atomic, Self-hosted
Logs or notes
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".Features related to Gutenberg integration on WordPress.com.Features related to Gutenberg integration on WordPress.com.The site editor.The site editor.All features accessible on and related to WordPress.com.All features accessible on and related to WordPress.com.
Type
Projects
Status
Done 🎉