Center post titles in WP Twenty Twelve?

103 views
asked May 28, 2013 in Website Builder by SaraSX (2,770 points)
Hello
I am using Twenty Twelve  child theme and I want my post titles to be centered.  I've tried  using "text-align: center;"  in my CSS but that didn’t work. Can anyone please tell me how can I do this?
Thanks and regards,

2 Answers

0 like 0 dislike
answered May 28, 2013 by WebGuru (9,280 points)
0 like 0 dislike
answered May 28, 2013 by WebProX (12,200 points)
try this code :
add display: block;
.entry-header .entry-title { text-align: center; }
...