Site logo

Archived topic

Center Page Titles

7 replies · Started by Troy Chapman on February 19, 2015

Viewing posts 1–8 of 8

When I create a new page, how can I get the title of that page to be formatted to place the title in the center instead of the title being formatted to the left?

The other information in my pages is centered, and the title to the left does not look correct.

You could try some CSS like this:

.page .entry-header {
      text-align: center;
}

Very interesting

I have used it to center footer widgets titles

.footer-widgets .widget-title {
      text-align: center;
}

Look mom! I'm learning! :)

Thanks Tom, where do I enter the CSS code?

Nevermind, I see the Simple Custom CSS plugin that Tom recommends. The code worked great thanks so much!

Glad it worked! :)

Hello!

I used this code to ilign the title but it just works in desktop view:

.page .entry-header {
      text-align: center;
}

How can I fix it for tablet and mobile?

Hi Rostyslav,

Can you open up a new topic for this? So you could use the private information text field to link us to the site information if you wish to keep it private. Thank you.

This archived topic is closed to new replies.