Ready to get started?Download WordPress


[resolved] How to center page title (4 posts)

  1. rleegarrison
    Posted 1 year ago #

    As I can't find anything regarding the page title in the css, I've tried the following:

    #page-title ( text-align: center; }

    but it's not working.

    How do I make all the page titles center aligned?


  2. rleegarrison
    Posted 1 year ago #

    By the way, the site I'm working on is aryafarmproduce.com

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try adding this:

    #post-title h2 {
       text-align: center;

    You should add via a custom CSS option or plugin so that changes won't be lost when the theme is updated.

  4. rleegarrison
    Posted 1 year ago #

    Thank you for the prompt reply!! That worked perfectly, thank you. Totally missed that it was an h2.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic