hydescarf / Obsidian-Theme-Mado-11

A simple theme that makes Obsidian feels a bit more like a modern app.
MIT License
75 stars 3 forks source link

Remove top Toolbar #9

Closed sasha6606 closed 2 years ago

sasha6606 commented 2 years ago

Hi. Thank you for a great theme for obsidian. Sorry, I'm not good at programming, what code data do I need to remove to hide the toolbar?

2022-06-30 в 15 44 55
hydescarf commented 2 years ago

Thank you, and it's alright! If you mean you want to completely hide that out, so that even when you hovered, they will not display:

  1. Go to your snippets folder (You can access it from your Settings > Appearance > CSS Snippets, then look for the folder icon and click on it to bring up the folder)
  2. Make a new file that ends with .css (eg. MadoToolbarHidden.css)
  3. Copy and paste the following:
    .workspace-split.mod-horizontal.mod-left-split .workspace-tab-header-container{
        display:none;
    }

    This will hide the toolbars on the left-dock. But if you want to also hide them on the right-dock, apply the following instead:

    .workspace-split.mod-horizontal .workspace-tab-header-container{
        display:none;
    }
  4. Make sure to turn them on in your settings!

Let me know if it works!

sasha6606 commented 2 years ago

It worked! Thank you so much