Posts

Showing posts from September, 2017

Navigation Placeholder

Contempo In A Two-Column Format...

Image
Blogger  launched new templates a few months ago and, although the  new templates have some nice features, there is still room for improvement. The Contempo template presents posts as a series of snippets and originally, the snippets were presented one per row. I wanted a way to display more snippets in less space, so, I explored different mechanisms for achieving the desired result. At one point, I had managed to do most of the heavy lifting using a complicated style sheet, but, ultimately, the CSS proved to be a bit flaky and occasionally, a post snippet would either disappear or would be misaligned in some horribly noticeable way. Eventually, I created the following gadget: <script type="text/javascript"> function DoGridView() { var d=document; var divs; var articles; var mainposts; divs=d.getElementsByTagName('div'); for (var i=0;i<divs.length;i++){ if (divs[i].className=='blog-posts hfeed container'){ mainposts=divs[i]; articles=mainposts.ge