Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Samuel Johnson
Samuel Johnson
9,152 Points

Editing the comments section

Has anyone got advice on editing the comments section?

Ive been using the inspector element but every time a new comment is added it over laps or takes part of the styling of the previous element.

Also ive tried adding pseudo classes but still doesnt working even adding {content: '/a';} for line breaks.

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Copy the comments.php file from one of the main WordPress sites. Then edit that to your liking in your theme. It is called with the comments_template function.

Samuel Johnson
Samuel Johnson
9,152 Points

Thanks for that, il have a look. I was thinking more in relation to css because there are so many blogs that disable the ability to reply to comments.