Post Comments ウィジェット
- Post Commentsを編集
- 高度な設定
- カスタムCSS
/* コメントフォーム全体 */
.comment-form {
max-width: 700px;
margin: 2em auto;
padding: 1.5em;
border: 1px solid #ddd;
border-radius: 10px;
background: #f9f9f9;
}
/* 入力フィールド */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
width: 100%;
padding: 0.8em;
margin-bottom: 1em;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}
/* 送信ボタン */
.comment-form input[type="submit"] {
background: #0073e6;
color: #fff;
padding: 0.8em 1.5em;
border: none;
border-radius: 6px;
cursor: pointer;
}
.comment-form input[type="submit"]:hover {
background: #005bb5;
}
Post Comments を編集
Post Commentsを編集
高度な設定
カスタム CSS に以下を挿入
/* コメントフォーム全体 */
.comment-form {
max-width: 700px;
margin: 2em auto;
padding: 1.5em;
border: 1px solid #ddd;
border-radius: 10px;
background: #f9f9f9;
}/* 入力フィールド */
.comment-form input[type=”text”],
.comment-form input[type=”email”],
.comment-form input[type=”url”],
.comment-form textarea {
width: 100%;
padding: 0.8em;
margin-bottom: 1em;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}/* 送信ボタン */
.comment-form input[type=”submit”] {
background: #0073e6;
color: #fff;
padding: 0.8em 1.5em;
border: none;
border-radius: 6px;
cursor: pointer;
}.comment-form input[type=”submit”]:hover {
background: #005bb5;
}

結果
