SearchForecast Marketplace

Changing the Font Style in your blog stylesheet.css

Posted by: dragonblogger  //  Category: Internet, blogging

So I finally found time today to tweak my font style on my blog to try and make it more readable, first I edited my stylesheet.css with Theme Editor in Word Press, then I found the section related to my posts which looked like this:

/* Post – Entry */

#content .post .post-entry {
font: normal 12px/18px “Century Gothic”, Verdana;
color: #ffffff;
width: 522px;
margin: 0 9px 0 8px;
padding: 0 20px;
background: #434343 url(“images/post_entry.gif”) repeat-x;
float: left;
}

#content .post .post-entry a {
color: #ffffff;
text-decoration: underline;
}

#content .post .post-entry a:hover {
text-decoration: underline;
}

#content .post .post-entry .more-link {
font: bold 12px/20px “Century Gothic”, Verdana;
color: #ffffff;
float: right;
}

At first I just tweaked the font size from 12/18 to 14/20 and this helped a little, but I don’t like the Century Gothic font or the Verdana fonts, they are too “thin” for a white font on a grey background.  So I switched them out to Arial and voila, now that same section looks like this:

/* Post – Entry */

#content .post .post-entry {
font: normal 14px/20px “Arial”, Arial;
color: #ffffff;
width: 522px;
margin: 0 9px 0 8px;
padding: 0 20px;
background: #434343 url(“images/post_entry.gif”) repeat-x;
float: left;
}

#content .post .post-entry a {
color: #ffffff;
text-decoration: underline;
}

#content .post .post-entry a:hover {
text-decoration: underline;
}

#content .post .post-entry .more-link {
font: bold 14px/20px “Arial”, Arial;
color: #ffffff;
float: right;
}

So what do you all think of the new font type and size, are my posts easier on the eyes now?  I want to hear from my fellow bloggers and readers.

-Dragon Blogger

Related posts:

  1. Adding Previous or Next Post Links to your WordPress Blog By adding a simple statement into your single.php you can create links to your next and previous posts directly in...
  2. Manually Add the TweetMeme Submit Button to WordPress This code lets you manually place the TweetMeme submit button exactly where you want on your wordpress posts. You just...
  3. Insert Code into Windows Live Writer with Code Snippet Windows Live Writer Code Snippet plugin lets you add source code easily to your Wordpress blog posts so they are...
  4. Dragon Bloggers Tips for Starting a New Blog or Your First Blog I am learning each and every day about blogging, I have been blogging since June 2008 with my first blog,...
  5. Embedded YouTube Blocks Popup on Website Embedded YouTube video will block most popups unless you modify the YouTube Embed code to allow popup to override the...


If you enjoyed this post, subscribe to DragonBlogger.com
via FaceBook, Twitter, RSS or Email
or
Enter your email and subscribe now!
Email:

Written by dragonblogger (1110 Articles Published)

Working in the IT Industry for over 10 years and specializing in web based technologies. Dragon Blogger has unique insights and opinions to how the internet and web technology works. An Avid movie fan, video game fan and fan of trying anything and everything new.

Follow dragonblogger on Twitter @dragonblogger

Tags: , , , , , , , , , , , , , , , , , , , ,

3 Responses to “Changing the Font Style in your blog stylesheet.css”

  1. Holly Jahangiri (17 comments) Says:

    Looks nice and clean, Justin (I don’t remember thinking it didn’t, before, but I’m guessing it defaulted to Verdana, and I don’t have anything against that).

    You know, we could all use a few more “practical css tips” in our lives, I think. For instance, do you have any special mnemonic to help me remember which SIDE goes in which order in the following statement: margin: 0 9px 0 8px; ? Seriously, I’m tired of figuring it out by trial-and-error or dragging out Danny Goodman’s DHTML bible every @#$%! time…

    It’s like trying to spell broccoli. Should be easy, but it’s easier (some days) to spell floccinaucinihilipilification. Why IS that?
    Holly Jahangiri´s last blog ..Monday News & Views My ComLuv Profile

    [Reply]

  2. Heather Kephart (58 comments) Says:

    Thank you for posting this, Justin! You’re going to help a great many people. I don’t know html so I use these online tutorials all the time.
    Heather Kephart´s last blog ..Neurotic Confessional My ComLuv Profile

    [Reply]

    dragonblogger (1957 comments) Reply:

    Anytime, glad to help others as I learn how to tweak and manipulate my own blog php code.

    [Reply]

Leave a Reply

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Comments links could be nofollow free.