The comment forms in Oxygen do not display the field labels out of the box.

Below screencast shows how we can show the labels or placeholders for the comment form input fields:

To show the labels

This is the needed CSS:

.oxy-comment-form label {
    display: block;
}

.comment-form-cookies-consent {
    display: flex;
}

#wp-comment-cookies-consent {
    width: auto;
    margin-right: 10px;
}

.oxy-comment-form .comment-form-cookies-consent label {
    line-height: 1.1;
    font-weight: normal;
}

To show placeholders

Add the code from Bill Erickson’s article without the opening PHP tag in a Code Snippet that is set to show on frontend only.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: