WordPress.org

Ready to get started?Download WordPress

Forums

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

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

    Thanks!

  2. rleegarrison
    Member
    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
    Member
    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