WordPress.org

Ready to get started?Download WordPress

Forums

Centre Page Titles CSS - twenty eleven (6 posts)

  1. RichGresswell
    Member
    Posted 1 year ago #

    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
    Richard

  2. David Beja
    Member
    Posted 1 year ago #

    If it's just for Page titles, I think you can just put in the css:

    .page .entry-title {
        text-align: center;
    }
  3. RichGresswell
    Member
    Posted 1 year ago #

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

  4. RichGresswell
    Member
    Posted 1 year ago #

    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 http://www.musicenglish.co.uk :)

    Thank you dbeja - much appreciated

  5. David Beja
    Member
    Posted 1 year ago #

    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.

  6. David Beja
    Member
    Posted 1 year ago #

    ok :) didn't read the last post.

Topic Closed

This topic has been closed to new replies.

About this Topic