Blogspot How To: Change Post Title Color in Blogger Template Designer Templates



I have received a lot of comments on a previous post. Readers are asking how to change the post title color in the new Blogger Template Designer templates. Well, here is a very simple step by step tutorial for you.We'll make some changes in the template CSS and then you'll be able to customize post title without any coding stuff.

Warning: Before making any changes, you must backup your existing layout:

Blogspot How to: Backup Your Blogger (Blogspot) Template

Steps to Make Post Title Font Customizable in the Blogger Template Designer Templates.


  1. Open the Template section.
  2. Blogger Updated Dashboard
  3. Click the Edit HTML button.
  4. Blogger Edit HTML Button
  5. A new window will open. You'd have to click the Proceed button to start editing.
  6. Blogger Proceed Button
  7. Find the following code:
    /* Variable definitions
       ====================
  8. REPLACE the above code with the following one:
    /* Variable definitions
       ====================
    
       <Group description="Post Title Color" selector="h3.post-title">
         <Variable name="post.title.link.color" description="Link Color" type="color" default="#ff0000" value="#ff0000"/>
         <Variable name="post.title.hover.color" description="Link Hover Color" type="color" default="#0000ff" value="#00ffff"/>
         <Variable name="post.title.color" description="Color on Post Page" type="color" default="#ff00ff" value="#ff00ff"/>
       </Group>
    

    Don't save or preview your template yet. Proceed to the next step.
  9. Now find this code:
    ]]></b:skin>
    and REPLACE it with the following one:
    h3.post-title { color:$(post.title.color); }
    h3.post-title a, h3.post-title a:visited { color:$(post.title.link.color); }
    h3.post-title a:hover { color:$(post.title.hover.color); }
    
    ]]></b:skin>
  10. Click the Preview button. You'll see the post title color as blue. Don't worry you can change it later in Blogger Template Designer. Save your template and click the Close button.

Hurray, Coding Done! Go & Customize the Post Title in Template Designer!


Simply click the Customize tab to open the Blogger Template Designer. Select Advanced from the left options. You'll see Post Title Color at the top.:


There are 3 options in the Post Title Color. Here is their detail:


Link Color: This is the color of the post title as a link. Any change to this option will appear in the Template Designer.


Link Hover Color: This color will appear when someone brings mouse over the post title. Any change to this option will not be visible in the Template Designer. You'd have to Apply the change, open the blog and bring your mouse over the post title to see the change in color.


Color on Post Page: This is the color of the post title on post page when post title is not a link. Again, you'd have to Apply the change and open some post title page to see the affect.


Help BetaTemplates!


If this tutorial was helpful then please add a link back to BetaTemplates on your blog. The link code is available at the bottom of this page.

141 comments:

  1. that works very good! Thanks so much!

    ReplyDelete
  2. Yep, that works.

    Cheers

    ReplyDelete
  3. you know how you've managed to exclude the post title from taking on the link colour, is there any way of doing this for the links in the gadgets at the side?

    ReplyDelete
  4. blog address:
    http://spottersbadge.blogspot.com/

    as you can see, just want to change the links at the side to black and keep the blue colour for the links in the text.

    ReplyDelete
  5. @ Mark Critchley, send me your template.

    levisinside0@gmail.com

    ReplyDelete
  6. thanks but i managed to work it out after an hour or two. just added 'li' to the code, but thanks anyway.

    ReplyDelete
  7. thank youuuuuu soo much..you are god

    ReplyDelete
  8. This was great, thank you. But mine only says "Post Title Color" not "Post Title" for the adjustments to change font/size. I took a screen shot of it. So, my choices under that are..I have post title color, color, hover color..etc. Now I have 2 title colors, only the "Post Title Color" link changes color, the second one does not, hover doesn't either.
    Hope that makes sense.

    ReplyDelete
  9. @ Kara, huh wish I could understand what you're trying to say. Anyways, you can send me your template file.

    levisinside0@gmail.com

    ReplyDelete
  10. perfect! great! thanks much!

    ReplyDelete
  11. Thanks so much for this!

    ReplyDelete
  12. Very easy to follow even for a beginner, thank you!

    ReplyDelete
  13. Any suggestions for changing the font to a google embeded font? I can find lots of tutorials, but none for the new design templates. Help!

    ReplyDelete
  14. Thank you sooo much! A a newbie to blogging, this has really helped me :)

    ReplyDelete
  15. @ ladyliberty, Google has enabled custom fonts for new templates. Just go to the Template Designer and you'll find new fonts there.

    ReplyDelete
  16. Hey, firstly thanks very much for the tutorial!

    I have a small but annoying problem with the post titles on my blog. As you can see here: http://syd-film-blog.blogspot.com/ on the home page, my titles are red, which I want them to be.

    But when you click through to the posts (e.g. here: http://syd-film-blog.blogspot.com/2011/01/philip-k-dick-blogathon-conclusion.html), the title changes to grey, as is the 'Post a Comment' heading.
    Also, when I look at the preview for an unfinished blog post, the heading is in grey as well.

    Any ideas about how to change these to red too?

    ReplyDelete
  17. @ Emma, please download your template file mail it to me:

    levisinside0@gmail.com

    ReplyDelete
  18. Wow - thank you for this! Just used it on the 'simple' template for a new blog I'm working on and it worked like a charm! I greatly appreciate your work here.

    ReplyDelete
  19. Thank you so much! My post titles are now exactly how I want them to be :) You're a legend!

    ReplyDelete
  20. wow thanks! it works!!!

    ReplyDelete
  21. works great! thanks so much for sharing this, the best tutorial ive seen.

    I have the same issue with Emma, any idea how to change this?

    ReplyDelete
  22. @ A, then you have to do the same thing as Emma did. Send me your template file.

    ReplyDelete
  23. No one else seems to have had a problem, but I have! When I added the HTML code and tried to save it, I got the message:

    We were unable to save your template
    Please correct the error below, and submit your template again.
    Invalid variable declaration in page skin: This is not a valid type for a variable. Input: null

    I cut and pasted the code so I'm not sure where I could have gone wrong, but obviously, somewhere, I did.

    ReplyDelete
  24. @ Even in Australia, please see the steps 2 & 3 carefully and also see their result. You have to add the step 2 code INSIDE the step 3 code.

    ReplyDelete
  25. Hi,
    Thank's for the information but, it's not working for me.

    This is what I have with step 3






    After this it's impossible for me to save?
    What's wrong
    Thank's

    ReplyDelete
  26. I've followed steps 2 and 3, but I can't find the

    .post {
    margin: 0 0 25px 0;
    }

    in my edit HTML box. Do you know what the problem could be?

    ReplyDelete
  27. @ Manon, what error are you getting??? Please explain!

    ReplyDelete
  28. @ Beth Simmons, gimme your blog address!

    ReplyDelete
  29. Thanks or this post... it seems to be working for most of the people but not for me... :S

    It seems like the post title options are splitted in my template.

    I have a list of variable definitions where it reads, among other things: "post title color" type="color" default="#f80" value="#ff8000" (it was just #FFFFF before, but i want it orange so I changed it, but didnt work.

    Then, there's the same stuff about the sidebar and blogtitle and the postfooterfont.

    And then, if I scroll down it says "post title strong" and "post title hover" after which i have changed the color again (ffff to ff80 for it to be orange). Still not working...

    Am I overlooking something? I used ctrl-F... there's no more matches specifiying color or appareance for the post title :S

    I'd be really thankful if you could help me out :S

    ReplyDelete
  30. Hi I have the same problem as Beth Simmons, I do not have that code

    ReplyDelete
  31. hello, im using a blogger template. and i found that there's no date shown on each post. may i noe how to add date header on each post?

    ReplyDelete
  32. @ GharHira, what template are you using???

    ReplyDelete
  33. @ SignVideo, without knowing your template, I can't help.

    ReplyDelete
  34. @ XiuQi, download your template file and send it to me, make sure to ask the question in the email as well.

    http://www.betatemplates.com/p/about-contact.html

    ReplyDelete
  35. Best guide ever. The preset post title using grey color is just too blend. Thanks for your info.

    ReplyDelete
  36. Thanks a bunch for this tutorial! The code in my template (picture window) wasn't quite the same but I managed to make it work without anything exploding so I think I'm good. I appreciate you taking the time to post this. Cheers!

    ReplyDelete
  37. Hi, Thanks for the information. I can change the color now, but can't change the font or the size. Could someone help?

    ReplyDelete
  38. @ Nathan, please send me your template file :)

    ReplyDelete
    Replies
    1. I have the same problem now I can change the colour but not the font:( how can I solve this problem?

      Delete
    2. Hi Agnieszka, I'll also solve this problem on email.

      Delete
  39. I tried this and part of it worked. http://littlebearstudio.blogspot.com

    I see now that I can change the post title color and hover color, but when I save and then actually view the blog (not preview, I realize that), only the title color is changed. The hover color is a grey, though that is not what I chose and saved.

    Help! And thanks!

    ReplyDelete
  40. @ Jainnie, you have to send me your template file so that I can check it myself.

    levisinside0@gmail.com

    ReplyDelete
  41. So first I have to back up my blog template (?) and then I have to go through SEVEN additional steps just to change the color of the title of each post? Why can't you make it as straight forward as changing the font color in other places on the blog?

    ReplyDelete
  42. @ Grandma and Grandpa Crosby, I don't know ho Blogger guys have missed it. It should've been available by default.

    ReplyDelete
  43. you are great. its really a great post. thanx a lot.

    ReplyDelete
  44. OMG it is really work. It helps me . thanks a lot.

    many many thanks.

    ReplyDelete
  45. Thank you so much. This was getting so frustrating and these instructions was exactly what I needed.

    ReplyDelete
  46. I used these instructions before, and got them to work! This time, I can get the option to change the post title, but when I change it, it won't ACTUALLY change the post title! Help! I can't figure it out!

    ReplyDelete
  47. Nevermind, I figured it out!!! THank you so much for this helpful info!!

    ReplyDelete
  48. Hooray...Great stuff! Very well explained.

    ReplyDelete
  49. Same prob. As Lyndsey had- I get the option, but it won't actually change the color.

    Didn't have this code:
    .post {
    margin: 0 0 25px 0;
    }

    So I just had to add it.

    I'm using the Picture Window template.

    ReplyDelete
  50. @ Valentine Wiggin, please email me your template file:

    levisinside0@gmail.com

    Do mention your problem in the email.

    ReplyDelete
  51. Hi Bilal,

    You have a great website and I like your tutorial very useful. Please help me. I want to increase the font size of my Post Title and Reduce the size of the date header (this should be smaller than the post title). I don't see the codes you mentioned above in my own template. I'm using Blogger Picture Window Template. Thanks

    ReplyDelete
  52. @ Stephen Sungkip, replied to your email.

    ReplyDelete
  53. Hi Bilal,

    the explanation is great and easy to understand. Thank you!
    But unfortunately when I choose the color it does not change on the Blog - what did I do wrong? Any idea? The HTML-Code looks like this:







    Blogger Template Style
    Name: Simple

    Thank you for your help!

    ReplyDelete
  54. Hey, worked GREAT! So why the heck didn't Blogger do this??

    ReplyDelete
  55. Can you please help me? I can't change my blog post title to the colour I want. I tried your tutorial but it still won't work :(

    ReplyDelete
  56. @ Xmizz YasminX, gimme your blog address.

    ReplyDelete
  57. @ Heidrun Irmer, what template are you using? Do you apply changes by clicking 'APPLY TO BLOG' button?

    ReplyDelete
  58. hey there! thanks so much for the help on this one. i do have one prob though, although the colors work when in the main page, when i click on to that specific blog to open it solely on one page, the post title color changes similar to the page text color. this was the same case i was hoping to solve before i added your tip with the codes. but your code does work btw. i just don't know how to fix it, is there anyway to like, not make it follow the page text color when opened as a single post?

    thanks for the help! :)

    ReplyDelete
  59. never mind! got it! sorry for troubling you!

    added this code:

    h3.post-title {
    font: $(post.title.font) !important;
    color: $(post.title.text.color) !important;
    }

    got it from this guy: http://www.southernspeakers.net/2011/05/blogger-post-title-looks-different-in.html

    you might want to add that to your blog.. the part where the colors might change when in the main page or in the post page. :D

    again, thanks a bunch for the tips right here! :D

    ReplyDelete
  60. Hurray!! You are brilliant. Your tutorial is easy to follow. Thanks for sharing this. Keep up the good job

    ReplyDelete
  61. I tried to go the easy route and just change it under Advanced but I am not seeing the "post title" option. I only see "post" which allows me to change the title font, background color, and border color (but not title color); and "post footer" which is not what I want. I attempted the code which didn't work, but I will try again. Any help will be much appreciated. I somehow got my first post to be the correct color, but the second post is showing up in the post color instead of post title color. hm...

    ReplyDelete
  62. Hey, it worked! Thanks for the tut.

    ReplyDelete
  63. I feel brilliant! First time I've tried any kind of coding since I learned Fortran about 100 years ago in college. Thanks so much!

    ReplyDelete
  64. Hi,
    I've done steps 1-4 fine but I can't seem to find the step 5 code anywhere in my blog. I've been through it several times and I just can't find it. Where exactly should it be?
    Thanks
    (Also, I'm going on holiday tommorrow so I might not be able to give feedback straight away)

    ReplyDelete
  65. tried again to change post title color and got this response: nvalid variable declaration in page skin: "The skin variables could not be parsed as they are not well-formed. Input:" ...any suggestions?

    ReplyDelete
  66. It's very nice of you to help people like this BUT--its Google/Blogger's job to fix this bug. That's what it is--when it should work but doesn't--a BUG. So in addition to all the kudos, I hope someone has filed a bug report with Blogger.
    No, I'm not trolling, I have this problem. I just wanted to test a new color for blog posts and found the palette didn't show up, wtf. But it was just a whim, not a necessity. That should have taken no more than 2 seconds of my time. On principle I WILL NOT do Blogger's job for it--unless I'm inspired, and then I'll probably choose a different template. I have edited HTML--for options/fx Blogger understandably can't easily provide. Color of blog post titles is not one of those things. But hey, if I change my mind, I know where to go! ;)

    ReplyDelete
  67. Thanks the colour changed! But now I can't change the font type! HELP?!
    Do I have to go back and change the HTML?
    Thanks ~Hannah xx

    ReplyDelete
  68. hello,
    You seem so brilliant.. can you help me? My html seems to be different from what you explain so can I send you my html text in the hope that you can work out what is wrong, as my post title will not change colour at all.... I managed to get the colour option chart and hover colour chart to appear following your instructions but cannot do the 2nd part so still no change for the colour of my choice.

    ReplyDelete
  69. @ RestlessinFrance, send me your template file along with detailed explanation of your problem:

    levisinside0@gmail.com

    ReplyDelete
  70. how can i create a subpage under a page????

    ReplyDelete
  71. @ Madhusudan, can you show any example about what you are talking about?

    ReplyDelete
  72. my blogs header background is brown-but it changes to colour black.how do i sort out this problem.i need background to be brown.

    ReplyDelete
  73. Hi there,

    I think I share the same problem with most commenters here. After four months of being really happy with my blog graphics, last night II accidentally erased the title and description and now can't edit the font or color. I am super bummed about this.

    I am not a code person, so the thought of going in and messing with the HTML myself is scary.

    Can you help me?

    Tiffanie

    ReplyDelete
  74. Isn't it a solution for the viewer.This can inform the viewer how to change post, title color and e.t.c.

    ReplyDelete
  75. I know its stupid questions but I can't find the 'edit html' in the new interface.

    Help??

    ReplyDelete
  76. Thank you for sharing this! It's really appreciated.

    ReplyDelete
  77. @ Lauren, thanks for asking that question. It is indeed tricky to reach 'Edit HTML' in the new Blogger interface.
    On the Dashboard, click the drop down arrow in front of every blog. Select 'Template' from there. Click 'Edit HTML' on the new page. A new pop up window will open. Click 'Proceed' and you'll see the blog's HTML.

    ReplyDelete
  78. I'm sorry. I dunno if i'm just blind or anything but i cant seem to find the ...

    .post {
    margin: 0 0 25px 0;
    }

    .. i hope you can help me, I just started my own blog,so. yeah. Thanks much! :)
    blog address:

    http://unintrovertedthoughts.blogspot.com/

    ReplyDelete
  79. @ Ms, Liberty, email me your template file with detailed explanation of your problem.

    levisinside0@gmail.com

    ReplyDelete
  80. Thank you sooooo much! I'm still having some problems, but I'm beginning to see the light.

    ReplyDelete
  81. Thanks alot...i worked 4 me

    ReplyDelete
  82. Worked like charm. Thanks a lot for posting this for us.

    ReplyDelete
  83. Thank you big time! Awesome!

    ReplyDelete
  84. Thanks a lot:)It works!n easily explained.Thanx again...

    ReplyDelete
  85. can't find the following code:

    .post {
    margin: 0 0 25px 0;
    }

    what to do?

    just started a blog and i'am still figuring out how things work..

    thanks!

    ReplyDelete
  86. @ Eva V., I've updated the tutorial, please see the step 4 again.

    ReplyDelete
  87. Thanks so much, it worked!

    ReplyDelete
  88. Hi..

    I can't even find the 1st code as u described in my HTML coding. I want to reduce my font size too cause it seem too big for the blog. Can u help me? My blog add "novelloverzz@blogspot.com".

    ReplyDelete
  89. I LOVE YOU! thankyou so much!

    ReplyDelete
  90. @ Liz, you're using a custom template so, I'm afraid, I won't be able to help you.

    ReplyDelete
  91. Thats ok @Bilal.. Thanks anyway..:(

    ReplyDelete
  92. Hi! I followed these steps and everything worked perfectly but all of my previously added CSS code were deleted after I added these codes to html and now when I start to add them again....for centering post titles and date headers...nothing happens, CSS stop working. Could this be related? Please help! I am using simple template and my blog is http://thebasicss.blogspot.com.

    ReplyDelete
  93. thank you thank you thank you!

    ReplyDelete
  94. @ ANA, I've seen your blog. Looks like you've fixed it yourself :)

    ReplyDelete
  95. I can't get it to work. I've tried numerous times trying different suggestions from different bloggers. I wonder if I've installed some code that's preventing me from changing it. My blog address is www.jenx67.com. Thanks for your help, jen

    ReplyDelete
  96. @ Jennifer James, Hi! I think you've already completed the step 6 of the tutorial. Codes are there. As you suspected, there is an additional line of code which is responsible for post title color. So, find the following code in your HTML:

    .post h3 {
    margin-top: 5px;
    font-size: 175%;
    font-family: Georgia;
    font-weight: Normal;
    color: #bf0606;
    border-bottom:5px dotted #444444;
    }


    This is the culprit :) Just REPLACE it with the following code:

    .post h3 {
    margin-top: 5px;
    font-size: 175%;
    font-family: Georgia;
    font-weight: Normal;
    color: $(post.title.color);
    border-bottom:5px dotted #444444;
    }


    Save your template. Now whatever you configure as your post title color in Template Designer, it will definitely apply.

    P.S. Don't forget to give a link back to BetaTemplates. The link can be found at the bottom.

    ReplyDelete
  97. Hey thanks for this it worked perfectly like a charm, I'll be subscribing to your rss fees as a reward Thanks again

    ReplyDelete
    Replies
    1. Hi Aiping, thanks and I'd really appreciate if you could link back to this blog. The link code is available in the footer.

      Delete
  98. Assalamalaikum,
    Brother im having problems with the template m not able to find the
    above codes in step 2 and step 3 ..and m using custom template ...
    my blog is www.androidcop.blogspot.com
    please let me know how to change the background of my blog and the font of the text ?

    ReplyDelete
    Replies
    1. Walaikum Asalam Hassan, I've updated the tutorial. Please follow again.

      Delete
  99. hi! nice hack, helps a lot so thanks. the only problem i ran into is that i cannot change post title font size. i mean.. the changes i make in template editor won't affect the post title font size. the color changing part works just fine. some advise please?
    thanks

    ReplyDelete
    Replies
    1. Hi mihnea, I've completely changed the tutorial. Please have a look again and make sure to remove the changes of previous tutorial.

      Delete
  100. thank you for share Bilal Aslam..
    good information

    ReplyDelete

LinkWithin

Related Posts Plugin for WordPress, Blogger...