Support » Themes and Templates » Buttercream – Center a page title

  • Resolved thephilwells


    Deep in my heart I believe this must have already been asked somewhere but for the life of me I could not find it.

    Site is – not much to it. Theme is Buttercream.

    I just want to know where to paste “text-align:center;” so the page title (“Links”) will be centered.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Max


    You just need this in your css:

    .entry-header {
       text-align: center;

    Does it matter where in the CSS?

    Hey, it worked! Thanks a bunch!

    This is resolved.

    Oh, for the record, I put the code above into style.css in the /* Text Elements */ section, just before /* Links */



    It does not matter where you put it, unless you also have another .entry-header selector somewhere else that also sets text-align: something – that may override it.

    I have a system I use for CSS in sites I develop — I sort it as follows

    • Reset Styles (if I use them, I am currently off using them)
    • layout styles
    • typography (which includes lists and so on)
    • Colors
    • utility styles (here I stick stuff wordpress needs (align-left/right/center and friends) as well as any utility styles (.clear) and so on that I use

    That way I can quickly find where to look in my sheet, you of course may find something else works best for you…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Buttercream – Center a page title’ is closed to new replies.