[Support request] center titles in pages but not posts

Home Forums Support center titles in pages but not posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #434798
    Dale

    I have been using the CSS

    /* formatting for post and page titles if displayed */
    
    h1.entry-title, article.page .entry-header h1.entry-title {
       text-align:center;
    }

    to center titles on all the pages and posts on my website. But I’d like to switch so that my posts go to the default left alignment while my page titles are still centered. How should I tweak it?

    GP Premium 1.5.5
    #435101
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    .single h1.entry-title {
        text-align: left !important;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.