Support » Themes and Templates » Centre Page Titles CSS – twenty eleven

  • Hello Everybody

    Does anyone know how I can centre the titles on pages in the twenty eleven theme – can I add some custom CSS to do this – does anyone know the code for this? Please help.

    Best wishes

Viewing 5 replies - 1 through 5 (of 5 total)
  • If it’s just for Page titles, I think you can just put in the css:

    .page .entry-title {
        text-align: center;

    Thanks – Can I just add it as it is too a child theme style sheet?

    Thank you very much – I’m using a twentyeleven theme extension plug-in by MozTools (really great by the way) and you have the option to add custom css and hey presto it worked – you can see the results ๐Ÿ™‚

    Thank you dbeja – much appreciated

    Yes, you can, but note that a child themeโ€™s stylesheet replaces the stylesheet of the parent completely.
    So if you were not using a child theme before, don’t forget to import the twenty eleven style.css if you want to keep some css of the parent.

    ok ๐Ÿ™‚ didn’t read the last post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Centre Page Titles CSS – twenty eleven’ is closed to new replies.