Minimal-mistakes: Justified text by default

Created on 2 Mar 2017  路  7Comments  路  Source: mmistakes/minimal-mistakes

First of all, thank you very much for this awesome project, it is incredible :+1:

I am trying to make the contents of the posts and pages all justified by default, but I am very new to Jekyll and not an expert in web programming.

How would you change the configuration files for adding a {: text-justify} everywhere in the body of the pages?

Support

Most helpful comment

You'll have to modify the theme's CSS to do this. If you set the following declaration it will justify the post/page content.

.page__content {
  text-align: justify;
}

All 7 comments

You'll have to modify the theme's CSS to do this. If you set the following declaration it will justify the post/page content.

.page__content {
  text-align: justify;
}

Thank you @mmistakes , what is your suggestion about the file where I should add these lines? I am seeing many files inside of _sass, is that the right place?

Awesome @mmistakes, problem solved. Closing the issue.

Hello @mmistakes and thanks for this awesome theme.
I tried the above but the right sidebar is part of the page__content and sometimes creates this ugly result:
fraud detection using machine learning analysis just another data science blog

Is there a way to exclude the sidebar?

Thank you.

@YannisPap Sure... with more CSS.

.sidebar__right {
  text-align: left;
}

You are right. Very nubby on CSS.

Thanks you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashleyconnor picture ashleyconnor  路  4Comments

QuantLab picture QuantLab  路  5Comments

halirutan picture halirutan  路  4Comments

deepaksood619 picture deepaksood619  路  5Comments

alkamid picture alkamid  路  4Comments