eddiesigner / liebling

Beautiful and clean Ghost theme that is easy and comfortable to use. To get the latest version please head over the releases page 👉🏼
https://github.com/eddiesigner/liebling/releases
MIT License
1.27k stars 602 forks source link

text-align: justify #334

Closed mihaiguyard closed 3 years ago

mihaiguyard commented 3 years ago

Hello,

Despite my attempts to solve this problem, I cannot put the correct CSS code to align the text (justify) and adapt its size (in code injection and {{ghost_head}}) ... Do you have any idea?

Thanks ! Mihai Guyard mihai.guyard@orange.fr

eddiesigner commented 3 years ago

Hi,

That's because the classes .page__content and .post__content don't exist in this theme. If you want to override some styles you should use .l-post-content instead.

To justify text you could use:

<style>
  .l-post-content {
    text-align: justify;
  }
</style>

And to change the font size you could use:

<style>
  .l-post-content p {
    font-size: 20px;
  }
</style>
eddiesigner commented 3 years ago

I will close this issue now, please feel free to reopen it if needed.