Can you set Justify as the default?

  • Author
    Posts
  • #73237

    jamesgielow
    Member

    Hello Anna,

    I find myself editing each post as justified instead of the default of align left. Then it struck me (way late in the game) that there may be a way to set the default to justify.

    Is it possible and if so how?

    I hope you’re well and check out the blog, the latest post is pretty sweet. If you’re into sweet things.

    yours,
    James

    The blog I need help with is mindyourdirt.com.

    #73364

    anarieldesign
    Theme Author

    Hi James,

    i am fine, thanks, how are you? We are traveling around right now, i’ll read your latest post when we settled down in hotel with internet ;).

    You can use CSS for the whole post:

    .post h1, .post h2, .post h3, .post h4, .post h5, .post h6, p {
        text-align: justify;
    }

    and add the element you need.

    Hope this helps a bit :).

    All the best,
    Ana

    #73516

    mjf966
    Member

    Hello Ana,

    I have the same issue, but not on single posts. I would like to have the justified text on the home page, where all the post’s excerpts and previews are.
    I would look like more as a magazine page if we could have justified columns.
    Can you help?
    Thank you,
    Marco

    #73518

    anarieldesign
    Theme Author

    Hi Marco,

    to add specific styles for the home page you can use this:

    .page-template-front-page  h1,
    .page-template-front-page h2,
    .page-template-front-page h3,
    .page-template-front-page h4,
    .page-template-front-page h5, .
    .page-template-front-page h6,
    .page-template-front-page p {
        text-align: justify;
    }

    or some other styles but this part is for the home page: .page-template-front-page

    Hope this helps.

    Cheers,
    Ana

The topic ‘Can you set Justify as the default?’ is closed to new replies.