Center Page Titles
URL to the page in question:
www.shimikakennison.com
-
I have a client who would really like the page titles centered. I tried the code snippet you replied to a similar question with a few months back and did not have success. I don’t mind and would probably prefer that the background box spans the entire content box width. Any thoughts?
Good Afternoon David,
You can center the page titles. Here’s how:
- Go to the Theme Options page and select the Styling tab.
- Scroll down to the Custom CSS box and paste this:
h1.title,
h1.page-title,
.page h2.title {
float: none;
margin: 0 -30px 15px;
}
- Update your settings.
If you'd also like to center the post titles in the "archive" or list view, you'll also need to add this:
h2.title a,
h2.title a:visited {
float: none;
margin: 0 -30px 15px;
}
If you run into any trouble let me know.
Have a great day,
Bill
- The topic ‘Center Page Titles’ is closed to new replies.