Support » Theme: Chaplin » Blog Posts Content Centered (similar as Medium)?

  • Mariano77

    (@marianomartene)


    Awesome Theme Anders,

    Congratulations and thank you for making it free for everyone.

    My question is if is it possible o align the Blog Posts content centered. I’ve trying to play with the CSS and the templates but couldn’t make it happen.

    Here is Image for reference: https://pasteboard.co/Ixl2QwB.jpg

    Is this too complex to accomplish?

    TIA!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Mariano,

    I solved this by adding this in the child-theme:

    .entry-header, .entry-content p {
    margin: 0 auto;
    max-width: 65rem;
    }

    .entry-content {
    max-width: none;
    }

    It is not perfect, as another user pointed out, but on my site it works well:
    https://www.vezveze-kandu.de

    Feel free to adapt my child-theme to your needs, if you want to.

    kind regards,
    treebranch

    Mariano77

    (@marianomartene)

    Thanks a lot! I think I can use that with a little tweak

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.