Reply To: Modify Comment area layout

Home Forums Support Modify Comment area layout Reply To: Modify Comment area layout

Home Forums Support Modify Comment area layout Reply To: Modify Comment area layout

#230496
Tom
Lead Developer
Lead Developer

Hi there,

1. Give this PHP a try:

add_action( 'generate_below_comments_title','generate_comments_email_message' );
function generate_comments_email_message()
{
    ?>
    <p class="comments-email-message">Your email address will not be published. Required fields are marked with *.</p>
    <?php
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

2. This CSS should do it:

@media (min-width: 769px) {
    .comment-form #author, 
    .comment-form #email {
        width: 48%;
        float: left;
    }

    .comment-form #email {
        float: right;
    }

    .comment-form #url {
        width: 100%;
    }
}

Adding CSS: https://generatepress.com/knowledgebase/adding-css/

Hope this helps 🙂