I’m not a coder but have dabbled with CSS in the past on a very basic level. I’ve mostly forgotten anything I did know, but would like to learn some more again. It’s really bugging me that the query blocks in preview are showing unfolded:
I’d also like the search parameters text by the magnifying glass icon to be a smaller font size. Any tips on how I’d go about doing these things, or are they too advanced for me to have a go at? Thought I’d ask just in case though. Thanks very much
Sorry I wasn’t very clear. It’s the results of query block within a page that I’m trying to be collapsed by default as opposed to the search pane. Thanks
I think you should make a feature request for this, it might already be in the devs plans, but it doesn’t hurt to show your interest, since I agree it’s a lot better to be able to have collapsed results.
I’m not saying it’s impossible to achieve it yourself with css, but it would definitely be really hard. Css is mostly for styling things. Being able to add a feature like this would do a lot better as a community plugin, but that’s of course harder to achieve.
But because this is a core functionality in Obsidian I’d advice you to write a feature request on it
Thank you for taking the time to looking into it and glad I checked rather than spending ages trying to get somewhere with CSS. Like you say, it might already be in the devs plans to develop the query block results and add more functionality in general but I’ll put in a feature request anyway.