{"id":409,"date":"2016-10-22T15:55:32","date_gmt":"2016-10-22T18:55:32","guid":{"rendered":"https:\/\/wiki.samuelchopard.ch\/?p=409"},"modified":"2020-05-03T18:46:35","modified_gmt":"2020-05-03T16:46:35","slug":"how-to-change-jetpack-tiled-gallery-width","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/how-to-change-jetpack-tiled-gallery-width\/","title":{"rendered":"How to change Jetpack&#8217;s tiled gallery width"},"content":{"rendered":"<p><!--more--><\/p>\n<p>Using a <a target=\"_blank\" href=\"https:\/\/samuelchopard.ch\/wiki\/library\/blank-child-theme\/\" rel=\"noopener noreferrer\" target=\"_blank\">child-theme<\/a> is the best option when edition your themes files.<\/p>\n<p>Code for <strong>functions.php<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">if ( ! isset( $content_width ) )\r\n     $content_width = 600; \/\/ set this to whatever width you need to suit your content area e.g 960<\/pre>\n<p><strong>Code for style.css<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">.size-auto, \r\n.size-full,\r\n.size-large,\r\n.size-medium,\r\n.size-thumbnail {\r\n     max-width: 100%;\r\n     height: auto;\r\n}<\/pre>\n<p>Source: <a target=\"_blank\" href=\"http:\/\/iamgw.com\/wordpress-plugins\/change-jetpack-tiled-gallery-width\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/iamgw.com\/wordpress-plugins\/change-jetpack-tiled-gallery-width\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Using a child-theme is the best option when edition your themes files. Code for functions.php if ( ! isset( $content_width [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[74,148,297],"class_list":["post-409","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-custom-width","tag-jetpack","tag-tiled-gallery"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=409"}],"version-history":[{"count":2,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/409\/revisions"}],"predecessor-version":[{"id":55117,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/409\/revisions\/55117"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}