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 trialalex mattingley
7,508 PointsA question about Styling h3's in the comments sections
Hello,
I have been following along with the video "convert Blog Listing and Single Post Templates". There were some styling issues with the titles in the comments section, and the video solution was to target the H3's inside of the comments section and apply the same styles to those h3s as the h4s on the rest of the site. I personally am not a big fan of this solution because I think that it could create problems down the road when we have two different styles for h3's. Does anyone know how to change the h3's in the comments section to h4s?
1 Answer
Pavle Lucic
413 PointsYou should change in html, by removing H3 in the loop, and adding H4. Or you can add class to the H3 in comment section '''(<h3 class="comment-title">)''', and in css use class selector.