Skip to content

Forms: Custom placeholder text color is overridden on the frontend #41417

Closed
@aaronrobertshaw

Description

@aaronrobertshaw

Impacted plugin

Jetpack

Quick summary

Setting a custom placeholder text color on form fields only works in the editor.

Editor Frontend
Image Image

Note: The field width, gap spacing etc should be fixed by #41415 and was reported in #41414

It appears that these styles blindly enforce color ::placeholder pseudo elements.

Steps to reproduce

  1. Add a contact form to a post
  2. Select a field and set a custom field text color
  3. Save post and view on the frontend. Note the color is different to the editor

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

No response

Platform (Simple and/or Atomic)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions