{"id":180,"date":"2024-05-24T15:43:33","date_gmt":"2024-05-24T22:43:33","guid":{"rendered":"https:\/\/comm.engineering.asu.edu\/pitchfork\/?post_type=pitchfork-docs&#038;p=180"},"modified":"2024-06-05T14:34:27","modified_gmt":"2024-06-05T21:34:27","slug":"pitchfork-card-layouts","status":"publish","type":"pitchfork-docs","link":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/","title":{"rendered":"Pitchfork: Card Layouts"},"content":{"rendered":"\n<div class=\"wp-block-media-text has-media-on-the-right is-vertically-aligned-top has-gray-1-background-color has-background\" style=\"margin-bottom:var(--wp--preset--spacing--uds-size-8);padding-top:var(--wp--preset--spacing--uds-size-4);padding-right:var(--wp--preset--spacing--uds-size-4);padding-bottom:var(--wp--preset--spacing--uds-size-4);grid-template-columns:auto 30%\"><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\" id=\"2-across\">Card Layout: 2 Across<\/h2>\n\n\n\n<p>This pattern provides for a section of cards that will fit into most existing page designs. Be sure to deploy it at the &#8220;base&#8221; of your document outline as opposed to within a column or group.<\/p>\n\n\n\n<p class=\"is-style-lead\">Features<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <code>heading<\/code> block set to the H2 level.<\/li>\n\n\n\n<li>An example of gold highlighting applied to a few words within the heading.<\/li>\n\n\n\n<li>A two column layout featuring <code>cards<\/code> which use the <code>card-link<\/code> block for further details.<\/li>\n\n\n\n<li>A dedicated call to action <code>button<\/code> at the bottom of the card pattern.<\/li>\n<\/ul>\n\n\n\n<p class=\"is-style-lead\">Notes<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Need a three or four column layout instead? Duplicate an individual column to extend the pattern to as many columns as you need. <\/li>\n\n\n\n<li>Need a different kind of card? Substitute the included card for any other card pattern in the library.<\/li>\n<\/ul>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"518\" src=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-1024x518.jpg\" alt=\"\" class=\"wp-image-181 size-full\" srcset=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-1024x518.jpg 1024w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-300x152.jpg 300w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-768x388.jpg 768w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-1536x776.jpg 1536w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-2048x1035.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-vertically-aligned-top has-gray-1-background-color has-background\" style=\"margin-bottom:var(--wp--preset--spacing--uds-size-8);padding-top:var(--wp--preset--spacing--uds-size-4);padding-right:var(--wp--preset--spacing--uds-size-4);padding-bottom:var(--wp--preset--spacing--uds-size-4);grid-template-columns:auto 30%\"><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\" id=\"3-across\">Card Layout: 3 Across + Background<\/h2>\n\n\n\n<p>Building on the previous pattern, the 3 Across card pattern adds a third column of cards and wraps the entire layout in a background section block to be able to apply a background color or texture from the Unity Design System.<\/p>\n\n\n\n<p class=\"is-style-lead\">Features<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Everything in the 2-Across pattern above<\/li>\n\n\n\n<li>A <code>background-section<\/code> block to enable quick selection of the UDS background textures and other options.<\/li>\n<\/ul>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"564\" src=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-1024x564.jpg\" alt=\"\" class=\"wp-image-182 size-full\" srcset=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-1024x564.jpg 1024w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-300x165.jpg 300w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-768x423.jpg 768w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-1536x846.jpg 1536w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-CardLayout-2048x1128.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-media-text has-media-on-the-right is-vertically-aligned-top has-gray-1-background-color has-background\" style=\"margin-bottom:var(--wp--preset--spacing--uds-size-8);padding-top:var(--wp--preset--spacing--uds-size-4);padding-right:var(--wp--preset--spacing--uds-size-4);padding-bottom:var(--wp--preset--spacing--uds-size-4);grid-template-columns:auto 30%\"><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\" id=\"query-loop\">Card Layout: 3 Across with Query Loop<\/h2>\n\n\n\n<p>The query loop pattern is also a three-across design but utilizes the <code>query-loop<\/code> block along with a number of other core blocks to build cards based on the contents of other content within your site. <\/p>\n\n\n\n<p class=\"is-style-lead\">Features<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <code>query-loop<\/code> block initially set to gather data from the latest three items from the <code>posts<\/code> area of your site.<\/li>\n\n\n\n<li>A <code>post-template<\/code> block set to display the cards in a grid and to limit the grid to three columns.<\/li>\n\n\n\n<li>A story <code>card<\/code> block configured to use additional core blocks that gather data from the query and display it properly within the card context. <\/li>\n\n\n\n<li>An <code>alert<\/code> block configured to display a message to the end user in the event that the query returns no data. <\/li>\n<\/ul>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"608\" src=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-1024x608.jpg\" alt=\"\" class=\"wp-image-183 size-full\" srcset=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-1024x608.jpg 1024w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-300x178.jpg 300w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-768x456.jpg 768w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-1536x913.jpg 1536w, https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/3-Across-QueryLoop-2048x1217.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"mb-2\">All of the patterns within this section of the pattern library feature cards in arrangements of two or three columns. <\/p>\n","protected":false},"parent":0,"menu_order":0,"template":"","pitchfork-docs-category":[12],"class_list":["post-180","pitchfork-docs","type-pitchfork-docs","status-publish","hentry","pitchfork-docs-category-patterns"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pitchfork: Card Layouts - Pitchfork Theme for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pitchfork: Card Layouts - Pitchfork Theme for WordPress\" \/>\n<meta property=\"og:description\" content=\"All of the patterns within this section of the pattern library feature cards in arrangements of two or three columns.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/\" \/>\n<meta property=\"og:site_name\" content=\"Pitchfork Theme for WordPress\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-05T21:34:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2184\" \/>\n\t<meta property=\"og:image:height\" content=\"1104\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/\",\"url\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/\",\"name\":\"Pitchfork: Card Layouts - Pitchfork Theme for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/wp-content\\\/uploads\\\/sites\\\/79\\\/2024\\\/05\\\/2-Across-CardLayout-1024x518.jpg\",\"datePublished\":\"2024-05-24T22:43:33+00:00\",\"dateModified\":\"2024-06-05T21:34:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/wp-content\\\/uploads\\\/sites\\\/79\\\/2024\\\/05\\\/2-Across-CardLayout.jpg\",\"contentUrl\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/wp-content\\\/uploads\\\/sites\\\/79\\\/2024\\\/05\\\/2-Across-CardLayout.jpg\",\"width\":2184,\"height\":1104},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/pitchfork-card-layouts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documents\",\"item\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pitchfork: Card Layouts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/#website\",\"url\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/\",\"name\":\"Pitchfork Theme for WordPress\",\"description\":\"an ASU Engineering theme for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pitchfork: Card Layouts - Pitchfork Theme for WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/","og_locale":"en_US","og_type":"article","og_title":"Pitchfork: Card Layouts - Pitchfork Theme for WordPress","og_description":"All of the patterns within this section of the pattern library feature cards in arrangements of two or three columns.","og_url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/","og_site_name":"Pitchfork Theme for WordPress","article_modified_time":"2024-06-05T21:34:27+00:00","og_image":[{"width":2184,"height":1104,"url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/","url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/","name":"Pitchfork: Card Layouts - Pitchfork Theme for WordPress","isPartOf":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/#website"},"primaryImageOfPage":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/#primaryimage"},"image":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/#primaryimage"},"thumbnailUrl":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout-1024x518.jpg","datePublished":"2024-05-24T22:43:33+00:00","dateModified":"2024-06-05T21:34:27+00:00","breadcrumb":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/#primaryimage","url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout.jpg","contentUrl":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-content\/uploads\/sites\/79\/2024\/05\/2-Across-CardLayout.jpg","width":2184,"height":1104},{"@type":"BreadcrumbList","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/pitchfork-card-layouts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/comm.engineering.asu.edu\/pitchfork\/"},{"@type":"ListItem","position":2,"name":"Documents","item":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/"},{"@type":"ListItem","position":3,"name":"Pitchfork: Card Layouts"}]},{"@type":"WebSite","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/#website","url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/","name":"Pitchfork Theme for WordPress","description":"an ASU Engineering theme for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/comm.engineering.asu.edu\/pitchfork\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs"}],"about":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/types\/pitchfork-docs"}],"wp:attachment":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"pitchfork-docs-category","embeddable":true,"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs-category?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}