[Resolved] Centering Page Titles

Home Forums Support Centering Page Titles

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1285974
    Simon

    Hi there, an hour into my GeneratePress journey and I am so far very impressed.

    First question though:

    I’ve found this code for centring post titles but is it possible to centre page titles?

    .single h1.entry-title {
    text-align: center;
    }

    Many thanks

    Simon

    #1286085
    Leo
    Staff
    Customer Support

    Hi there,

    .single makes it target the single posts only.

    Try just this:

    h1.entry-title {
        text-align: center;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.