I have a wordpress site , whose home page is a static page. I want to align the page heading centrally and make the font 48. I went to style.css and changed to :
.post-title {
font-family: Oswald,arial,Georgia, serif;
margin-bottom:10px;
font-size: 48px;
text-align:center;
}
As I changed this, heading of all the posts and pages changed to this new setting. How should I change the CSS, so that only the heading of static page will change?
Thanks in advance friends. (I am not a full time programmer, but I can understand code and do small customization if required.)
EDIT : To clarify, I want to make the changes only on the heading of static page not on all pages and posts. Currently it happens on all pages and posts.