Translate This Blog
Always Remember To Back Up Your Template Before Attempting Any Of The Tweaks On This Site

Do to error codes you should use the old interface when attempting many of these tweaks to your template

Align Post Title

Lots of people ask how to change their post title to make it centered. Its actually a pretty simple task. But you can also change it to left or right as well.

How to align post title:


1. Go to your Dashboard and click the Design option.
2. From the Design option click Edit HTML.
3. Once your inside Edit HTML you need to find "post-title" you can do this by clicking Ctrl+F or just scrolling down though the code.
4. Directly underneath the line of coding with post-title in it place this code below.
text-align: center;
It Should look like this after your done.
.post-title {
text-align: center;
h3.post-title, h4 {
text-align: center;
Depending on your template it maybe different but its all works the same.

Now if you want it to be align to the left or right just change the "center" with left or right.

If you don't want to fully align the title to one of those values you can use a different code as shown below.
h3.post-title, h4 {
padding-left: 50px;
.post-title {
padding-left: 50px;
This would move your title 50px to the right. You will need to play with the 50px to get it just right. Changing it higher will move it to the right and lower will move it back to the left.

6 comments:

  1. Thanks I Was finding This and i got your site from google and my work was solved

    ReplyDelete
  2. it doesnt work i try to look for post title
    there are 4 of it
    what i should do??

    ReplyDelete
  3. Awesome! It worked! Thanks!
    How about if I wanted to center my tabs?
    Thanks :)

    ReplyDelete
  4. Depending on the template you are using it can be a simple code or a pain. If you send me a email with your blog url I will take a look for you.

    ReplyDelete
  5. Veryy Nice !!!!! It Worked :D:D

    Thankx :D

    ReplyDelete

Web Design Blogs PageRank