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

CSS

Suggestions to make my related links look better.

Hello Everyone! I'm doing work on a site. Under each post for the site there are related post links. The titles of each post have some really strange spacing going on. I've inspected the element with Google Chrome and tweaked the CSS a bunch of different ways. The only aspect I can affect on the link is the font-size and the spacing between the lines. Here is the link http://ffs-jumpstart.com/ Thanks!

Edit: Sorry for not being clear. It is the links under the icons for related posts. The related posts can be found under each post.

Is it the text under the Similar Posts you have an issue with? Sorry Question not very clear.

1 Answer

They are inheriting a "text-align:justified" from the div class ".art-PostContent, .art-PostContent p" on line 910 or your style.css file.

Probably the easiest way to fix it is to give your "ul.related_post li a " selector a "text-align:left". That will at least make it more legible.

Kevin has it spot on I added the text-align: left; and it looks miles better.

Kevin, that did the trick! You sir are awesome!!

You're welcome! When you've screwed up coding as much as I have, you start getting good at troubleshooting layout issues on the double. I have lots of experience doing so! :)