{"id":458,"date":"2010-07-02T18:20:55","date_gmt":"2010-07-03T01:20:55","guid":{"rendered":"http:\/\/www.dresan.com\/blog\/?p=458"},"modified":"2010-07-02T18:54:16","modified_gmt":"2010-07-03T01:54:16","slug":"checking-out-something-with-the-theme","status":"publish","type":"post","link":"https:\/\/dresan.com\/blog\/2010\/07\/02\/checking-out-something-with-the-theme\/","title":{"rendered":"Checking out something with the theme&#8230;"},"content":{"rendered":"<p>&#8230;if this was a real post, I&#8217;d say something substantive, like that I suspect if the top post has an image in it, it can cause the header to move up and be covered by the banner image, which is wrong. Stay tuned&#8230;<\/p>\n<p>-the Centaur<\/p>\n<p>UPDATE: No and yes. If a post has a WordPress-style image in it, it can chomp its own header, regardless of whether it is the first post. \u00a0Got a little bit of debugging to do&#8230;<\/p>\n<p>UPDATED UPDATE: Teh problem wasn&#8217;t that the image had a theme error, the problem was the post had no title. Easily fixed: add a title, OR update the theme to write &#8220;This Post Title Unintentionally Left Blank&#8221; in the box&#8230; \ud83d\ude42<\/p>\n<p>UPDATED UPDATE POSTSCRIPT: And I award Chrome&#8217;s <a href=\"http:\/\/blog.chromium.org\/2009\/06\/developer-tools-for-google-chrome.html\">Developer Tools<\/a> (themselves based on the <a href=\"http:\/\/webkit.org\/blog\/197\/web-inspector-redesign\/\">WebKit Inspector<\/a>) the prize for helping me find this bug by giving me an easy way to navigate down to that element and see that it wasn&#8217;t just squeezed out (which had happened in an earlier iteration of the theme I&#8217;d tested locally on my laptop via <a href=\"http:\/\/www.mamp.info\/en\/index.html\">MAMP<\/a>) but was indeed missing its content. Hm. Another fix for hte bug would be to set a minimum height on the div for the title of the post &#8230; interesting &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8230;if this was a real post, I&#8217;d say something substantive, like that I suspect if the top post has an image in it, it can cause the header to move&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-webworks","ratio-2-1","entry"],"_links":{"self":[{"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":5,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":460,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/posts\/458\/revisions\/460"}],"wp:attachment":[{"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dresan.com\/blog\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}