# CSS of Paragraph Spacing in Edit Mode?

**URL:** <https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679>\
**Category:** Devs: Theme Design & Custom CSS\
**Tags:** custom-css\
**Created:** [June 9, 2022, 10:31am UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679 "2022-06-09T10:31:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lily](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/97f17d/32.png) [@lily](https://forum.obsidian.md/u/lily)\
**Post date:** [June 9, 2022, 10:31am UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679/1 "2022-06-09T10:31:36Z")

</div>

### What I’m trying to do

Hi, I have a problom and couldn’t solve it by myself:  
In edit mode, I really need more space between paragraphs and between ordered lists as well as unordered lists.

I need it in both edit as well as in preview mode, especially edit mode.

I am now using the theme “Minimal 5.2.10” and I am not sure if its related.

Can anybody help me, please?

### Things I have tried

[Paragraph formatting in editor?](https://forum.obsidian.md/t/paragraph-formatting-in-editor/16390)  
[CSS changes for edit mode - Space between line](https://forum.obsidian.md/t/css-changes-for-edit-mode-space-between-line/36385)  
[Further help with line spacing in Edit Mode](https://forum.obsidian.md/t/further-help-with-line-spacing-in-edit-mode/16679)

None of these worked:

```auto
.CodeMirror pre.CodeMirror-line {
  padding-bottom: 15px;
}

.cm-s-obsidian pre.HyperMD-list-line {
  padding-bottom: 0px !important;
}
  
.cm-s-obsidian pre.HyperMD-header{
  padding-bottom: 0px !important;
}

```

```auto
.HyperMD-header.HyperMD-header-1 {
  line-height: 2.5; /* It works */
}

```

```auto
.cm-s-obsidian .CodeMirror-line {
  padding: 5px 5px;
}

```

---

<div class="post-metadata">

**Author:** ![lily](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/97f17d/32.png) [@lily](https://forum.obsidian.md/u/lily)\
**Post date:** [June 9, 2022, 12:52pm UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679/2 "2022-06-09T12:52:01Z")

</div>

I should add that I have Live preview mode turned on, can I adjust the paragraph spacing in this mode?

---

<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:** [June 9, 2022, 4:05pm UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679/3 "2022-06-09T16:05:50Z")

</div>

for adjusting the space between paragraphs, you may have a look at of this thread:

> [@How to adjust the line height with CSS?](https://forum.obsidian.md/t/how-to-adjust-the-line-height-with-css/9747):
>
> For the height of a and the height of b marked in the picture above, is it possible to set different values for them respectively with some customized CSS code, and how?

---

<div class="post-metadata">

**Author:** ![scholarInTraining](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@scholarInTraining](https://forum.obsidian.md/u/scholarInTraining)\
**Post date:** [June 9, 2022, 5:38pm UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679/4 "2022-06-09T17:38:46Z")

</div>

This is a question for those knowledgeable about themes, and maybe Minimal in particular: I see that the Minimal documentation mentions 2 different plug-ins that can be used to edit its settings, one specific [Minimal Theme Settings by kepano](https://github.com/kepano/obsidian-minimal-settings) and the more generic [Style Settings by mgmeyers](https://github.com/mgmeyers/obsidian-style-settings). Do either of them allow style editing of the type being asked about in this thread?

---

<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:** [September 7, 2022, 5:39pm UTC](https://forum.obsidian.md/t/css-of-paragraph-spacing-in-edit-mode/38679/5 "2022-09-07T17:39:02Z")

</div>

Closed on September 7, 2022, 5:39pm UTC

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