TwentyTwelve – centering text in page title
-
I am new to CSS and trying to work out what the selector would be if I want to centre the text in the title of my Home Page only. I tried page_home_title but that didn’t work. any ideas? To confuse things my home page has a different title than “Home”. It is “Investment Advice for Charities”, a title repeated for my second page.
The blog I need help with is: (visible only to logged in users)
-
To centre your post title on the homepage only, try this:
.home .entry-title { text-align: center; }Learning how to target your site’s CSS will help you make certain design and layout changes. Here are some very helpful posts that will help you customize your site with CSS:
https://dailypost.wordpress.com/2013/07/25/css-selectors/
http://dailypost.wordpress.com/2013/06/21/css-intro/
http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/
http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/
If CSS is new to you, here are some resources for learning more about it:
-
-
- The topic ‘TwentyTwelve – centering text in page title’ is closed to new replies.