Blog Quick Tip - Justify your posts and give your blog a sharp crisp look
- 6 Comment
Ever seen a blog that has clean lines down both sides of the posts? Sure you have Success For Your Blog is one of them. Well OK I have to admit I just made the change earlier today but I would have made it a long time ago if I thought about it. I think when you justify the text in your posts it looks so much cleaner. Its relatively easy to do and you may already have a style in your style sheet that will do this. Look for something like this.
.justify {
text-align: justify;
}
If you don’t have that style then you could add text-align: justify to your existing style class. For example you would add it to the post_content style in your theme style.css.
Well that wraps up this little blog tip. If you have questions you would like answered please send an email via the contact form and I will do my best to help you out with it.
6 Comments on this post
Trackbacks
-
Marco Richter said:
Jason, I added the “justify-look” to my blog earlier and it´s far better to read now.
I added your post to digg.
Cheers
Marco
http://www.marcorichter.netOctober 22nd, 2007 at 4:50 pm -
Jason Blanton said:
Awesome, glad this helped Marco. This blog looks really nice. I’ve been there a few times in the last couple weeks. I discovered it from 45n5 Top 100 list.
Thanks for the Digg.
October 22nd, 2007 at 6:01 pm -
Fred @ Newest on the Net said:
Jason,
I have been thinking about adding justify to my posts. I just did a blog redesign and was thinking about adding it. I am not sure if I like the look or not.
October 22nd, 2007 at 8:03 pm -
inga said:
Hi, I just stumbled across your site because I googled ‘justify.’ I’m having a problem with justifying my navigation PAGES. Like, the content in my BLOGS and sidebar are justified, but if you go to my ‘about’ section, THAT text isn’t justified, and I’m not sure how to get it that way. Would you happen to know?
October 23rd, 2007 at 10:18 am -
Jason Blanton said:
I’m assuming your using WordPress and your about page is a page rather than a post so here goes.
In WordPress you’ll have to modify the pages.php page in your theme. So for example I use another div with the justify class specified from above in the post.
Like this
Does that help?
October 23rd, 2007 at 11:41 am
[...] Now if you want to wrap the text like I’ve done in this post check out this post from the past on Justifying your posts. [...]