# CSS snippet - How do I remove padding from h1 headers?

**URL:** <https://forum.obsidian.md/t/css-snippet-how-do-i-remove-padding-from-h1-headers/74813>\
**Category:** Devs: Theme Design & Custom CSS\
**Created:** [January 11, 2024, 11:26pm UTC](https://forum.obsidian.md/t/css-snippet-how-do-i-remove-padding-from-h1-headers/74813 "2024-01-11T23:26:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [January 14, 2024, 12:04am UTC](https://forum.obsidian.md/t/css-snippet-how-do-i-remove-padding-from-h1-headers/74813/9 "2024-01-14T00:04:54Z")

</div>

As you can tell from this topic (and many others), spacing is hot topic and a very personal preference. Hopefully the changes you made work out.

As for the theme custom variables/properties, they are all in the `app.css` file. Open the developer tools, go to the `Sources` tab, click on the `app.css` and copy/paste the entire thing (or parts if it) into a code editor of your choice for easy reference. The properties/variables are also here → [CSS variables - Developer Documentation](https://docs.obsidian.md/Reference/CSS+variables/CSS+variables), but I find having the full file on hand easier for quick reference.

 ![Screenshot 2024-01-14 at 8.54.00](https://forum.obsidian.md/uploads/default/original/3X/1/8/182b32bc23eb976d4ec52ca7224c109e33b61910.jpeg)

Here’s a great guide if you haven’t seen it yet:

> [@Obsidian CSS Inspector Workflow](https://forum.obsidian.md/t/obsidian-css-quick-guide/58178):
>
> Obsidian CSS Inspector Workflow This was originally called “Obsidian CSS Quick Guide” but it ended up being more focused on the inspector. As a retrospective change to help people use this as a resource, it has been renamed. – FireIsGood Hi friends! CSS in Obsidian can be confusing to get into, so this is a guide to get you started with information on the tools, methods, and some background knowledge! Let’s get started by looking at how you can look behind the curtain of Obsidian’s visuals. …

---

_[View the full topic](https://forum.obsidian.md/t/css-snippet-how-do-i-remove-padding-from-h1-headers/74813)._
