Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

How to Center Align H1 on Pages

  • I want to center align h1 heading on page (not posts and other places).

    i tired this code

    h1.entry-title {
    width: 100%;
    text-align: center;

    but i center align site wide. but i just want to center align on pages. check sample page below.

  • Hi there,

    Try this instead if you want to apply that CSS just for pages:

    .page h1.entry-title {
    width: 100%;
    text-align: center;
  • next level support. Thanks

  • You’re welcome!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.