Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Help to change Tumblr font style..

    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

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello ashley78,
    This should work for you if you put it in the CSS in the head of your document -
    Code:
    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 -
    Code:
    <!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>
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Amazing, thank you so much once again!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •