Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dyad 2: Contact Form text is white when placed inside Cover block. #1833

Open
kosiew opened this issue Mar 2, 2020 · 6 comments
Open

Dyad 2: Contact Form text is white when placed inside Cover block. #1833

kosiew opened this issue Mar 2, 2020 · 6 comments
Labels
[Pri] Low Triaged [Type] Bug Something isn't working User Report This issue was created following a WordPress customer report
Milestone

Comments

@kosiew
Copy link

kosiew commented Mar 2, 2020

Steps to replicate

  1. Add Contact Form (either template or Form block) to a page
  2. View the Contact Form and try to input information.

[Please include screenshots, browser information, and anything else that can help us recreate the problem.]

Result

The text in the input fields are in white on a white background and thus not visible.

[What happened.]

Expected

The text in the input fields should be visible.

[What you expected to happen.]

  • User report: [shortlink to chat/forum thread/ticket, ie #12345-hc]
  • Follow-up ticket: [shortlink to ticket, ie #12345-zd]
    #2755796-zen
@nielslange nielslange added this to the Dyad 2 milestone Mar 2, 2020
@achyuthajoy
Copy link

Hey @kosiew! I was able to replicate the problem when using one of the contact page layouts and contact forms inside the cover block. However, this doesn't apply to contact forms added outside cover layout.

Found that the conflicting CSS comes from the default block styles and the input fields on Dyad 2 are styled to pick up parent element's color.

.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
    width:calc(100% - 70px);
    z-index:1;
    color:#f8f9f9
}

Easy fix here is to remove the color inheritance on Dyad 2 or to add a fixed color. For now I'm adding a patch by removing the inheritance.

@mikeicode
Copy link

They came up on 21980372-hc I provided the following to resolve:

.wp-block-cover .contact-form textarea, 
.wp-block-cover .contact-form input[type="text"], 
.wp-block-cover .contact-form input[type="email"], 
.wp-block-cover .contact-form input[type="url"], 
.wp-block-cover .contact-form select {
	color: rgb(106,108,110);
}

@bsanevans
Copy link

We are seeing this issue again. I have a user on the Personal plan, so CSS is not a viable workaround: 3447430-zd-woothemes

I have asked them to place the contact form outside a Cover Block for the moment.

@bsanevans bsanevans added [Pri] Low [Type] Bug Something isn't working User Report This issue was created following a WordPress customer report and removed [Status] Has Patch labels Oct 31, 2020
@pbking pbking linked a pull request Nov 5, 2020 that will close this issue
@paulostp
Copy link

3751777-zd-woothemes. Personal plan, suggested placing the form outside the Cover block as a workaround.

@jordesign jordesign changed the title Dyad 2: Contact Form text is white. Dyad 2: Contact Form text is white when placed inside Cover block. Nov 4, 2021
@jordesign
Copy link
Contributor

Confirmed this behaviour is still in place if the cover block has a dark overlay.

Dyad is active on 582,558 sites

@jordesign
Copy link
Contributor

Looks like there was the start of a solution in #2778 - but it stalled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Triaged [Type] Bug Something isn't working User Report This issue was created following a WordPress customer report
Projects
None yet
7 participants