WordPress.org

Ready to get started?Download WordPress

Forums

Center all post titles (3 posts)

  1. Nicoline Berthy
    Member
    Posted 1 year ago #

    Hey.
    I blog on nicolineberthy.dk and I have a problem centering all my post titles. Right now I've found out how to center the specific post title but I can't center them all. Can anyone help me please?

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    try to add this to style.css of your theme:

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

    ideally use a custom css plugin (for instance the custom css section of 'jetpack') for any CSS changes to your theme; this will keep them safe if you update the theme at some point.

  3. johnfotios
    Member
    Posted 1 year ago #

    Add

    #main .entry-title
    {
    text-align:center;
    }

    to style.css in your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic