Hi all,
I am trying to use the obsidian-gallery plug in to recreate Pinterest style functionality. It is working wonderfully, and I am very excited; I just have one little hiccup that I can’t quite get ironed out.
Things I have tried
I read that you can create custom CSS classes, and then create a CSS snippet to alter any notes which call for the custom class in their YAML front matter.
I added the following to the note with the gallery:
---
cssclass: pinboard
---
I then created a CSS snippet gallery-view-widener.css
:
.markdown-reading-view.pinboard {
min-width: 1000px;
}
This doesn’t appear to do anything. I have substituted different values, and I have also tried width
instead of min-width
. I have enabled CSS snippets, and restarted Obsidian each time I have made changes.
It seems to me that something like this ought to work, but I don’t know what I am doing wrong. My CSS knowledge is minimal at best.
What I’m trying to do
I would like to be able to turn off readable line length only on those notes that I want to create galleries in.