Centre blog titles and pictures

  • Author
    Posts
  • #112054

    ammosher
    Member

    Hi there,

    Is there a way to use CSS to make sure all blog posts’ titles are centred? As well as all pictures?

    I’d also like to get rid of the white space where the sidebar would be.

    a-listorganizing.com

    Thank you!

    The blog I need help with is a-listorganizing.com.

    #112154

    vladolaru
    Theme Author

    Hello,

    You could give it a go with this custom CSS:

    .entry-title { text-align: center; }
    .entry-content > figure, .entry-content > img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
        float: none;
    }

    I hope this helps,
    Vlad
    Pixelgrade

    #112155

    ammosher
    Member

    Thank you!!

    The white space is gone and the titles are centered.

    The only problem I’m having is centering the picture in the blog post. See link below.

    https://a-listorganizing.com/beforeafter/

    Thank you again!

The topic ‘Centre blog titles and pictures’ is closed to new replies.