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

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.

5 comments:

My World4Free said...

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

Anonymous said...

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

AiresOFwar said...

What is your blog URL?

Yelena's Nest said...

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

AiresOFwar said...

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.

To post a comment click the link below but please do not post hyperlinked text in the comment box. I will not publish it and I will mark it as spam! Post a Comment
Web Design Blogs PageRank