Hey Georg,
This would require additional custom CSS. I would recommend checking http://www.toolinfy.com/hide-placeholder-text-on-focus-css to learn more.
Thanks!
I was able to figure out how to set the color of the placeholder to transparent after focus:
.mc4wp-form:focus-within ::-webkit-input-placeholder {
color: transparent;
}
Thanks!
Best,
Georg
-
This reply was modified 6 years, 5 months ago by
gmwp1111.
-
This reply was modified 6 years, 5 months ago by
gmwp1111.
-
This reply was modified 6 years, 5 months ago by
gmwp1111.
This is finally what I use to cover more browsers:
.mc4wp-form:focus-within ::-webkit-input-placeholder {
color: transparent;
}
.mc4wp-form:focus-within :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: transparent;
opacity: 1;
}
.mc4wp-form:focus-within ::-moz-placeholder { /* Mozilla Firefox 19+ */
color: transparent;
opacity: 1;
}
.mc4wp-form:focus-within :-ms-input-placeholder { /* Internet Explorer 10+ */
color: transparent;
}
Plugin Contributor
Lap
(@lapzor)
Awesome, thanks for sharing!