Site logo

[Resolved] How to Inline the Name and Email in the Comment Form?

Home Forums Support [Resolved] How to Inline the Name and Email in the Comment Form?

Home Forums Support How to Inline the Name and Email in the Comment Form?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1046333
    Jericho

    Hi GP Support,

    Can you guys please help me with some CSS code to customize the comment form?

    What I want to achieve: http://prntscr.com/poyfqv (screenshot of Kinsta comment form)

    Thanks very much! 🙂

    #1046544
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .comment-form {
        display: flex;
        flex-wrap: wrap;
    }
    .comment-form-comment {
        width: 100%;
    }
    .comment-form #author, .comment-form #email {
        width: 48%;
    }
    .comment-form #author {
        margin-right: 2%;
    }
    
    .comment-form #email {
        margin-left: 2%;
    }
    #1046635
    Jericho

    Thanks David! 🙂

    #1046643
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.