...

View Full Version : Help to change Tumblr font style..



ashley78
12-21-2010, 03:48 PM
I have a tumblr blog feed on my website using this code

<script type="text/javascript" src="http://user.tumblr.com/js"></script>

I've managed to change the font of the content (courier new) but the titles are still in Times New Roman

Any help muchly appreciated!

Link http://www.bearresponseteam.co.uk

Excavator
12-21-2010, 04:17 PM
Hello ashley78,
This should work for you if you put it in the CSS in the head of your document -


ol.tumblr_posts {font-family:Courier New,Courier,Monospace;}
ol.tumblr_posts .tumblr_title {font-size: 15px;}
ol.tumblr_posts .tumblr_body {font-size: 10px;}

Change those font sizes to suit you.



You should really fix some problems in your code. Remember the links about DocTypes and validation?
A good start would be making the top 14 lines of your document look like this -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Bear Response Team :: HQ</title>
<LINK rel="shortcut icon" href="/favicon.ico">
<style type="text/css">
#twitter_update_list a:link {color: #FFF;{text-decoration: none;}
ol.tumblr_posts {font-family:Courier New,Courier,Monospace;}
ol.tumblr_posts .tumblr_title {font-size: 15px;}
ol.tumblr_posts .tumblr_body {font-size: 10px;}
</style>
</head>
<BODY style="MARGIN: 0px 0px 15px; BACKGROUND: #000000" text=#000000>

ashley78
12-21-2010, 05:22 PM
Amazing, thank you so much once again!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum