Center Page Titles

Support Area Forums Foxy Center Page Titles

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: www.shimikakennison.com
  • Author
    Posts
  • #17536
    David Hayden
    Participant

    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?

    #17539
    Bill Robbins
    Moderator

    Good Afternoon David,

    You can center the page titles. Here’s how:

    1. Go to the Theme Options page and select the Styling tab.
    2. Scroll down to the Custom CSS box and paste this:
      
      h1.title,
      h1.page-title,
      .page h2.title {
      	float: none;
      	margin: 0 -30px 15px;
      }
      
    3. 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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Center Page Titles’ is closed to new replies.