{"id":71906,"date":"2014-10-22T21:28:52","date_gmt":"2014-10-22T19:28:52","guid":{"rendered":"https:\/\/nl.wordpress.org\/support\/topic\/fixed-img-width-in-sidebar\/"},"modified":"2016-08-05T01:52:00","modified_gmt":"2016-08-05T01:52:00","slug":"fixed-img-width-in-sidebar","status":"closed","type":"topic","link":"https:\/\/nl.wordpress.org\/support\/topic\/fixed-img-width-in-sidebar\/","title":{"rendered":"fixed img width in sidebar?"},"content":{"rendered":"<p>Hoi<\/p>\n<p>Ik ben voor de moment bezig met zelf een thema te schrijven. Ben zo goed als klaar. Enkel nog de sidebar. Maar daar zit ik met een klein technisch probleem.<\/p>\n<p>Als ik een afbeelding via de sidebar text widget toevoeg heb ik hetzelfde voor als het Azpismis thema. De afbeelding word getoond met zijn volledige grote. Dus bijvoorbeeld<br \/>\n1024&#215;768 als de sidebar maar een max width heeft van 200px.<\/p>\n<p>Doe je identiek hetzelfde in het Twenty Fourteen thema. Dan past dit thema de foto zelf aan tot een thumbnail en ziet het er netjes uit.<\/p>\n<p>De vraag is nu, hoe programmeer je dat?<\/p>\n<p>Heb de functions.php &amp; style.css van beide thema&#8217;s naast elkaar liggen maar kan het er niet uithalen. <\/p>\n<p>CheerS<br \/>\ncd_BE<\/p>\n","protected":false},"template":"","class_list":["post-71906","topic","type-topic","status-closed","hentry","topic-tag-css","topic-tag-functions-php","topic-tag-sidebar","topic-tag-theme-development"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/71906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/71906\/revisions"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=71906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}