# 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:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chasrmartin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chasrmartin/32/5554_2.png) [@Chasrmartin](https://forum.obsidian.md/u/Chasrmartin)\
**Post date:** [April 7, 2021, 3:44pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/1 "2021-04-07T15:44:07Z")

</div>

### Things I have tried

I’ve been digging in the Help topics

### What I’m trying to do

I want to change the regular body text in the editor to put a little space after each paragraph.

It would help a lot with customization if there were a complete list of the CSS and/or selectors, or a way to examine the actual CSS as with developer tools in a browser.

---

<div class="post-metadata">

**Author:** ![larosajohnson](https://forum.obsidian.md/user_avatar/forum.obsidian.md/larosajohnson/32/11655_2.png) [@larosajohnson](https://forum.obsidian.md/u/larosajohnson)\
**Post date:** [April 7, 2021, 3:51pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/2 "2021-04-07T15:51:04Z")

</div>

(at least on Mac) you can do “View–\>Toggle Developer Tools” from within Obsidian and do just that

or use the shortcut Cmd+Opt+I

---

<div class="post-metadata">

**Author:** ![Chasrmartin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chasrmartin/32/5554_2.png) [@Chasrmartin](https://forum.obsidian.md/u/Chasrmartin)\
**Post date:** [April 7, 2021, 4:04pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/3 "2021-04-07T16:04:41Z")

</div>

Thanks, I just discovered that. But I’ve been exploring it for about 15 minutes and it’s a maze of twisty little selections, all different. It appears that a line in a document is not a p tag. But I’m having a helluva time figuring out what that thing is.

CF these two lines of text

Anyway, for the moment I’ll just use double newlines.  
I’ve spent most of a tomato just screwing around with the tool, but it does seem to be pretty adequate, all things considered.

I’d like the view to look like

Anyway, for the moment I’ll just use double newlines.

I’ve spent most of a tomato just screwing around with the tool, but it does seem to be pretty adequate, all things considered.

without needing an extra newline between (which screws with other tools I use.)

---

<div class="post-metadata">

**Author:** ![larosajohnson](https://forum.obsidian.md/user_avatar/forum.obsidian.md/larosajohnson/32/11655_2.png) [@larosajohnson](https://forum.obsidian.md/u/larosajohnson)\
**Post date:** [April 7, 2021, 4:08pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/4 "2021-04-07T16:08:06Z")

</div>

I’m not sure if you’ve checked it out yet, but the Obsidian Discord has a channel just for CSS themes that is very active. In the pinned section of the channel there is also a CSS starter guide that you might find helpful. It was very helpful for me when I first got into theming (still working on my first one… but I personally was using it as an excuse to procrastinate on actually using Obsidian so I put it aside for now).

---

<div class="post-metadata">

**Author:** ![Chasrmartin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chasrmartin/32/5554_2.png) [@Chasrmartin](https://forum.obsidian.md/u/Chasrmartin)\
**Post date:** [April 7, 2021, 4:23pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/5 "2021-04-07T16:23:24Z")

</div>

I thought these topics had been moved to the fora.

---

<div class="post-metadata">

**Author:** ![JonathanBuchh](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jonathanbuchh/32/12455_2.png) [@JonathanBuchh](https://forum.obsidian.md/u/JonathanBuchh)\
**Post date:** [April 7, 2021, 6:30pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/6 "2021-04-07T18:30:52Z")

</div>

In my experience, the forum is for more permanent discussion while the Discord is better for getting help/having conversation. There are a bunch of friendly people that could help you out in the `#css-themes` channel. Here’s a description that explains the differences between the Discord server and forum:

> **[Obsidian: A knowledge base that works on local Markdown files.](https://obsidian.md/community)**
>
> Obsidian – A knowledge base that works on local Markdown files.

---

<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…

---

<div class="post-metadata">

**Author:** ![Chasrmartin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chasrmartin/32/5554_2.png) [@Chasrmartin](https://forum.obsidian.md/u/Chasrmartin)\
**Post date:** [April 8, 2021, 7:25pm UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/8 "2021-04-08T19:25:56Z")

</div>

By golly that did it!

---

<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 9, 2021, 6:24am UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/9 "2021-04-09T06:24:29Z")

</div>

My pleasure 😄

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [April 10, 2021, 6:24am UTC](https://forum.obsidian.md/t/simple-css-changes-to-body-text/16077/10 "2021-04-10T06:24:47Z")

</div>

Closed on April 10, 2021, 6:24am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
