Centring post title above text

  • Author
    Posts
  • #157915

    I was able to use the following CSS to remove the featured image on my individual posts.

    .singular .entry-featured img {
    display: none;
    }

    However, now my post title is not centred, and it is off to the side. How do I fix this?

    The blog I need help with is luxeforless.ca.

    #157924

    alinclamba
    Theme Author

    Hey,

    Please let me know if the CSS below does the trick:

    
    
    /* Centering Post Title No Featured Image Single Post */
    @media only screen and (min-width: 900px) {
       .singular .entry-header {
          margin-left: 30%;
       }
    }
    
    

    Give it a try and let me know how it goes.

    Alin

The topic ‘Centring post title above text’ is closed to new replies.