# Simple CSS changes to body text

**URL:** <https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077>\
**Category:** Basement\
**Created:** [April 7, 2021, 3:44pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077 "2021-04-07T15:44:07Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![GLight](https://forum.obsidian.md/user_avatar/forum.obsidian.md/glight/32/4851_2.png) [@GLight](https://forum.obsidian.md/u/GLight)\
**Post date:** [April 8, 2021, 1:04pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/7 "2021-04-08T13:04:20Z")

</div>

Hope the following helps:

> [@How to adjust the line height with CSS?](https://forum.obsidian.md/t/how-to-adjust-the-line-height-with-css/9747/6):
>
> With this snippet for edit mode: .CodeMirror pre.CodeMirror-line { line-height: 1.4;/\*height of a\*/ padding-top: 6px; /\*the lower part of height of b\*/ padding-bottom: 6px;/\*the upper part of height of b\*/ } you may also want this snippet to adjust the output in the preview mode: p{ line-height: 1.4; /\* change this value accordingly \*/ display: block; padding-top: 6px; /\* change this value accordingly \*/ padding-bottom: 6px; /\* change this value accordingly \*/ margi…

---

_[View the full topic](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077)._
