Open DarkXero-dev opened 5 months ago
I forgot to mention that embedded videos using youtubeLite are no longer centered when ZenMode is enabled. Look at image below.
Hi @DarkXero-dev, I think this is a nice feature. I don't know how to do it thought params in each article, but I have done it as a shortcode: layouts>shortcodes>zenmode-enabled.html
<script>
window.onload = function() {
var zenButton = document.getElementById('zen-mode-button');
zenButton.click();
};
</script>
In each article that I want to activate by default, I add {{ zenmode-enabled }}
. Isn't an elegant solution but it works :)
@dioxipe
Thanks for showing me a solution. It's best we can do until devs include it in the code via an update at some point..
Just to, first, express my gratitude to Nuno and the rest of developers of this very nice theme and, second, support this feature request as I would also be interested in it.
Hey, sorry, everyone. It's been hard keeping up with the inflow of issues. My concern with this one is that it requires a new parameter. I need to consider this. @DarkXero-dev would a param to activate zemode for all articles be sufficient or would you like to have something on a per-article basis... as I write this I realize that if I follow the existing logic it should support both.
@nunocoracao
Hey. Am glad you are back. Better to have it as a whole. I have too many articles to have to do it on a per Article basis. Thank you so much for your hard work.
My suggestion, if implementing this, it’s better it being following the same logic as everywhere: a global (default) parameter, plus per-article override.
Hello..
I love Blowfish. However I have a feature request. I way to enable ZenMode for all Articles by default. Since most of us have large monitors it's better.
Thanks