Thursday, February 7, 2013

Blog Design Help: How to Center Post titles, Dates, Gadgets, and Tabs in Blogger

One of the greatest things I have loved for my blog design is being able to center the gadget titles, post titles, date, and tabs on my blog.  There's just something more appealing about the look and feel of my blog when it's all lined up nice and pretty with the center of the page.

Tutorial: How to Center your Gadget Headers, Post Titles, and Tabs in Blogger.
    

Here is a quick and easy tutorial on how you can center all of these things on your blog as well, and do it all through the basic Template editor in Blogger.  We're just going to add some simple coding to the CSS section in the Template Designer.

How to get there:
  1. Log into your Blogger account and then click on your blog name
  2. Go into the Template section on the left
  3. Then click the orange Customize button
  4. Then go to the Advanced section on the left
  5. Scroll down to Add CSS
Once you are in there, you're going to want to add the following codes.  Simply copy/paste (or type) them into the Add CSS field, and then hit enter between each one.

Code to center your Post & Date Titles in Blogger:

.post-title {
text-align:center;
}

.date-header {
text-align:center;
}

Code to center your Gadget Headers in Blogger:

.widget {
  text-align: center;
}

 Code to center your Tabs in Blogger:

.PageList {text-align:center !important;}
.PageList li {display:inline !important; float:none !important;}

You can also leave out any of these you want, and just pick and choose which things you want centered and which you do not.  If you leave one out, that section will just remain with the basic Blogger settings.  

12 comments:

  1. Tried adding the centre post titles and the centre tabs but the tabs one didnt work.
    When I go back to the add css part only the code for the post title is there, the tabs one disappears. Do I need to add something in between them or something?

    ReplyDelete
    Replies
    1. I always hit enter after pasting, and then enter again so there's a space break between the two codes. See if that helps!

      Delete
  2. thank you for this can i ask when you reply to a comment here on your blog do you do via email or right on your blog

    ReplyDelete
  3. Look at you sharing your knowledge. See, yet another reason you are a gem! :)

    You did this to mine huh... all my stuff centers now, I just noticed that this evening.

    ReplyDelete
  4. Can you make this a series, where you give a techie blog tip every week? I've been trying to change the font of my blog titles, and I found a tutorial to help me, but it was too difficult for my little brain! Help!

    ReplyDelete
  5. Right...now to figure out how to add Tabs. I am completely rubbish at anything technical. I think it would be awesome if you made this a series though.

    ReplyDelete
  6. I had no idea you could center the tabs! Thanks!!

    ReplyDelete
  7. Thank you for the help. I loved this but after I switched to the simple template it won't work. Any ideas?

    ReplyDelete

Thank you so much for leaving me a comment! I'll come by and visit you as well! Enable your email so I can respond. :) ☮ & ♥!

Related Posts Plugin for WordPress, Blogger...