How To: Center Post Title in New Blogger Templates
In this tutorial, I'll tell you how you can change the alignment (position) of the post title. You can align it to center or right. Currently, Blogger offers 6 different templates in the Template Designer so I'll explain this tutorial according to each of the templates.
1- Change Post Title Alignment in 'Simple' Blogger Template
If you're using the Simple Blogger Template then you need to go to Design -> Edit HTML.
Then find (Ctrl + f) the following code:
h3.post-title, .comments h4 {
font: $(post.title.font);
margin: .75em 0 0;
}
Add text-align:center; to center the title.
h3.post-title, .comments h4 {
font: $(post.title.font);
margin: .75em 0 0;
text-align:center;
}
0 comments:
Post a Comment