{"id":19121,"date":"2012-07-17T23:32:11","date_gmt":"2012-07-17T22:32:11","guid":{"rendered":"http:\/\/jamesmichie.com\/blog\/?p=19121"},"modified":"2014-05-04T20:36:48","modified_gmt":"2014-05-04T19:36:48","slug":"responsive","status":"publish","type":"post","link":"https:\/\/jamesmichie.com\/blog\/2012\/07\/responsive\/","title":{"rendered":"Responsive"},"content":{"rendered":"<p style=\"text-align: left;\">The mobile web is in the ascendency, with many UI and UX designers, iterating for mobile before desktop. With this in mind I have been wrestling with CSS and HTML5 to make my blog more responsive to different screen sizes. However, I kept encountering a range of problems, trying to turn a basic WP theme into something far more up-to-date.<\/p>\n<p style=\"text-align: left;\">Instead I have installed the\u00a0<a href=\"http:\/\/wordpress.org\/extend\/themes\/origin\" target=\"_blank\">Origin<\/a>\u00a0theme, which is already set up to be responsive. Tinkering around with both the CSS and HTML, I have managed to construct a design that I am happy with. I coded a menu at the top and took the opportunity to install a new contact page. I also removed some features that I felt were peripheral, adding to the minimalistic style I favour.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-15.07.12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19108 size-full\" title=\"Blog 15.07.12\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-15.07.12.png\" alt=\"Blog 15.07.12\" width=\"965\" height=\"740\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-15.07.12.png 965w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-15.07.12-300x230.png 300w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Sporting the same theme as my blog, my\u00a0<a href=\"http:\/\/jamesmichie.com\" target=\"_blank\">home page<\/a>\u00a0is also more minimal, creating a more consistent experience for people who stumble across via search or through links on Twitter and Google+.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Home-Page-15.07.12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19114 size-full\" title=\"Home Page 15.07.12\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Home-Page-15.07.12.png\" alt=\"Home Page 15.07.12\" width=\"991\" height=\"685\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Home-Page-15.07.12.png 991w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Home-Page-15.07.12-300x207.png 300w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">I am most pleased with the way my blog now renders on mobile devices. The menu drops below the header, while the text resizes naturally to fit. The sidebar becomes pinned to the bottom of the page below the posts, and the posts themselves maintain all of their formatting. Images and videos also adapt to suit whichever screen they are being viewed on. Moreover, the blog is HTML5 compliant ensuring that all content is viewable regardless of OS or browser.<\/p>\n<p style=\"text-align: centre;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"960\" class=\"aligncenter size-full wp-image-19109\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-1.png\" alt=\"Blog iPhone 1\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-1.png 640w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-1-200x300.png 200w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: centre;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"960\" class=\"aligncenter size-full wp-image-19110\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-2.png\" alt=\"Blog iPhone 2\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-2.png 640w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-2-200x300.png 200w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: centre;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"960\" class=\"aligncenter size-full wp-image-19111\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-3.png\" alt=\"Blog iPhone 3\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-3.png 640w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-3-200x300.png 200w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: centre;\"><a href=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"960\" class=\"aligncenter size-full wp-image-19113\" src=\"http:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-5.png\" alt=\"Blog iPhone 5\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-5.png 640w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2012\/07\/Blog-iPhone-5-200x300.png 200w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Please let me know what you think, particularly if you are viewing this on your mobile device. I\u2019m interested to learn from others\u2019 experiences; aiming to make my blog as accessible and user friendly as possible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The mobile web is in the ascendency, with many UI and UX designers, iterating for mobile before desktop. With this in mind I have been wrestling with CSS and HTML5 to make my blog more responsive to different screen sizes. However, I kept encountering a range of problems, trying to turn a basic WP theme &hellip; <a href=\"https:\/\/jamesmichie.com\/blog\/2012\/07\/responsive\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Responsive<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"autoblue_enabled":false,"autoblue_custom_message":"","autoblue_shares":[],"autoblue_post_url":"","autoblue_publish_document":false,"footnotes":""},"categories":[177,179],"tags":[8,338,103,227,167,173,102,736,738,735,737,172],"class_list":["post-19121","post","type-post","status-publish","format-standard","hentry","category-blogging-2","category-design-2","tag-blogging","tag-css","tag-design","tag-html","tag-jamesmichie-com","tag-jamesmichie-comblog","tag-minimal","tag-mobile","tag-origin","tag-responsive","tag-theme","tag-web"],"_links":{"self":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/19121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/comments?post=19121"}],"version-history":[{"count":16,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/19121\/revisions"}],"predecessor-version":[{"id":19632,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/19121\/revisions\/19632"}],"wp:attachment":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/media?parent=19121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/categories?post=19121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/tags?post=19121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}