Viewing 2 replies - 1 through 2 (of 2 total)
  • View your page in your web browser, and from the menu choose VIEW > PAGE SOURCE. It will pop up a page with the generated HTML version of your page. Go through the code and look for your Title. It will be inside of a “container” looking something like this:

    <div id="header"><h1><?php bloginfo('name'); ?></h1></div>

    Different themes feature slightly different looks, but that’s the basic look. This information tells you that the Title is in the “header” division.

    Now, find your style.css in your Themes subfolder (usually in wordpress/wp-content/themes/themename/. Double click on it to view it in Notepad or a text editor. This is your CSS page that holds the presentation styles for your page’s structure.

    Scroll or search through it and look for “header”. Inside of that will be the formating references that make it look like what it looks like.

    If you want everything in the “header” to be centered, including any graphics, then add the attribute:

    text-align:center;

    If you only want the title heading to be centered and the rest of the “header” to stay as it is, look for the H1 selector and add the above attribute to center only the heading.

    I hope this helps.

    Thread Starter metaltiger

    (@metaltiger)

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moving the Title from the Center position’ is closed to new replies.