Home › Forums › Support › Comment area fileds inline This topic has 12 replies, 2 voices, and was last updated 6 years, 1 month ago by Tom. Viewing 13 posts - 1 through 13 (of 13 total) Author Posts March 4, 2018 at 9:33 pm #511700 Denis I want to put comment fields (author, email, url) inline. I’ve read this thread https://generatepress.com/forums/topic/modify-comment-area-layout/ but I don’t know how to apply the code to 3 fields. What’s the proper CSS to do this? Thanks. March 5, 2018 at 4:30 pm #512425 TomLead Developer Lead Developer Hi there, Sorry for not getting back to you sooner! Adding this should be enough: @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://docs.generatepress.com/article/adding-css/ March 5, 2018 at 7:01 pm #512479 Denis Thanks for reply, however I asked how to put 3 fields on a single line, thanks March 5, 2018 at 10:05 pm #512573 TomLead Developer Lead Developer Ah, try this: @media (min-width: 769px) { .comment-form #author, .comment-form #email, .comment-form #url { width: 32.5%; float: left; } .comment-form #author { margin-right: 1%; } .comment-form #url { margin-left: 1%; } } March 5, 2018 at 10:34 pm #512587 Denis That works but I want to add margins between fields Desired result looks like Thanks March 6, 2018 at 8:41 am #513040 TomLead Developer Lead Developer Just edited the code above ๐ March 6, 2018 at 8:29 pm #513494 Denis Thanks again! Almost perfect, apart of Google reCaptcha overlay March 6, 2018 at 8:56 pm #513513 TomLead Developer Lead Developer Can you link me to that page? March 6, 2018 at 8:59 pm #513515 Denis DELETED March 6, 2018 at 9:01 pm #513522 TomLead Developer Lead Developer Try this: .g-recaptcha { clear: both; } March 6, 2018 at 9:05 pm #513526 Denis That works! Thank you March 6, 2018 at 9:06 pm #513532 Denis resolved March 7, 2018 at 10:10 am #514074 TomLead Developer Lead Developer You’re welcome ๐ Author Posts Viewing 13 posts - 1 through 13 (of 13 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In