Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.
Can you please give me a more detailed explanation? With specifics related to my question?
Please see the page that I linked to above.
OK I’ve created a child theme,
which css property do i need to add in order to center post titles?
I’m sorry but it is beyond the scope of these forums to deal with basic CSS issues. Try a dedicated CSS resource such as http://www.css-discuss.org/ instead. I’d also recommend using Firefox with the Firebug add-on for this kind of CSS work.
http://getfirebug.com/
I do know css,
I just dont know which class or div put the text-align parameter on.
All i need to know is what to put the changes on.
I’m not sure how it’s “beyond the scope of these forums to help with basic CSS issues” specially when the description of one of them is “– XHTML and CSS” and the question relates to the default WordPress theme.
But anyways in case you haven’t figured it out already…
This will center the post title and meta info
.entry-header {
text-align:center;
}
If you just want to center the post title use
.entry-title, .entry-title a
text-align: center;
}
Add either to your child theme.
If you need help with more CSS issues that are “too basic” for these forums, feel free to ask for help on mine http://zeaks.org