WordPress.org

Forums

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

  1. rleegarrison
    Member
    Posted 3 years 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?

    Thanks!

  2. rleegarrison
    Member
    Posted 3 years ago #

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

  3. WPyogi
    Forum Moderator
    Posted 3 years 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
    Member
    Posted 3 years 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