{"id":183,"date":"2019-08-24T08:10:52","date_gmt":"2019-08-24T12:10:52","guid":{"rendered":"http:\/\/www.marshall.edu\/website\/?page_id=183"},"modified":"2026-03-02T13:59:40","modified_gmt":"2026-03-02T18:59:40","slug":"columns","status":"publish","type":"page","link":"https:\/\/www.marshall.edu\/marsha\/columns\/","title":{"rendered":"Columns"},"content":{"rendered":"<p>The columns shortcode is two shortcodes used together: a row wrapper and one or more columns inside it. Columns split the page into a 12-unit grid. To create two equal columns on desktop, assign each a large value of 6 (6 + 6 = 12). For three equal columns, use a value of 4 each (4 + 4 + 4 = 12).<\/p>\n<p>On small screens, columns default to full width and stack vertically.<\/p>\n\n\t\n<div\n\t\tclass=\"bg-red-600 py-8 mb-6 last:mb-0 first:mt-0 mt-6 first:mb-8\"\n>\n\t<div class=\"w-full xl:container mx-auto px-4\">\n\t\t<div class=\"bg-white flex flex-col lg:flex-row items-start py-6 px-6 ring-4 ring-white\/10 rounded\">\n\n\t\t\t\t\t\t\t<div class=\"flex items-start justify-between shrink-0 mr-2\">\n\t\t\t\t\t<div class=\"text-gray-600 leading-none mt-0.5\"><svg data-slot=\"icon\" class=\"w-6 h-6\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4\"\/><path d=\"M12 8h.01\"\/><\/svg><\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"flex-1 mt-4 lg:ml-6 lg:mt-0 py-0 pt-4 lg:py-0 lg:px-6 border-t lg:border-t-0 lg:border-l border-gray-900\/10 font-semibold text-gray-900 no-img flex flex-col items-start\">\n\t\t\t\t<div class=\"flex-1\">For displaying groups of cards, icon boxes, link cards, or rankings side by side, use their dedicated wrapper shortcodes (<code>&#091;mu_cards&#093;<\/code>, <code>&#091;mu_icon_boxes&#093;<\/code>, etc.) instead of columns. Columns are best reserved for mixed content layouts.<\/div>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n<h2>Understanding Columns and Responsive Design<\/h2>\n<p>Assume we have three columns, each set to 12 on small and 4 on large. This is how they display:<\/p>\n<h3 class=\"mb-2\">On Desktop\/Laptop Screens<\/h3>\n<div class=\"flex\">\n<div class=\"w-1\/3 bg-gray-200 text-center py-4\">Col 1<\/div>\n<div class=\"w-1\/3 bg-gray-500 text-center py-4 text-white\">Col 2<\/div>\n<div class=\"w-1\/3 bg-gray-800 text-center py-4 text-white\">Col 3<\/div>\n<\/div>\n<h3 class=\"mb-2\">On Mobile<\/h3>\n<div class=\"flex flex-wrap\">\n<div class=\"w-full bg-gray-200 text-center py-4\">Col 1<\/div>\n<div class=\"w-full bg-gray-500 text-center py-4 text-white\">Col 2<\/div>\n<div class=\"w-full bg-gray-800 text-center py-4 text-white\">Col 3<\/div>\n<\/div>\n<h2>Row Shortcode<\/h2>\n<h3>mu_row Parameters<\/h3>\n<p><code>&#091;mu_row&#093;<\/code> has no required parameters. It acts as the flex container for the columns inside it.<\/p>\n<h2>Column Shortcode<\/h2>\n<h3>mu_column Parameters<\/h3>\n<ul>\n<li><strong>Small Screen Width (sm): <\/strong>Optional. Width on small screens (phones). Defaults to <code>12<\/code> (full width). Only in very rare circumstances should this be anything other than <code>12<\/code>.<\/li>\n<li><strong>Large Screen Width (lg): <\/strong>Width on desktop screens (1024px and wider). Based on 12 units \u2014 a value of <code>6<\/code> is 50%, <code>4<\/code> is 33%, <code>3<\/code> is 25%. <strong>Never set this to 12<\/strong> \u2014 nothing will display.<\/li>\n<\/ul>\n<h2>Column Shortcode Examples<\/h2>\n<h3>Two Equal Columns<\/h3>\n\n<div x-data=\"{ copied: false, rawCode: '' }\" x-init=\"rawCode = $refs.codeSource.textContent\" class=\"mb-12\">\n\n\t\t\t<div class=\"px-6 py-6 border border-b-0 rounded-t-lg border-gray-200 bg-white\">\n\t\t\t<div class=\"marsha-row mt-4 mb-4 flex flex-wrap -mx-2 lg:-mx-6  justify-start border-0 border-gray-100 first:mt-0\">\n\t\n<div class=\"columns w-full lg:w-6\/12  lg:px-6    mt-6\">\n<div class=\"\">\nLeft Column\n<\/div>\n<\/div>\n\n<div class=\"columns w-full lg:w-6\/12  lg:px-6    mt-6\">\n<div class=\"\">\nRight Column\n<\/div>\n<\/div>\n\n\n<\/div>\n\n\t\t<\/div>\n\t\n\t<div class=\"\">\n\t\t<div class=\"flex items-center justify-between px-4 py-2.5\" style=\"background: #181825; border-bottom: 1px solid rgba(255,255,255,.06);\">\n\t\t\t<span class=\"text-[11px] font-medium tracking-wide text-white\/40\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\">Shortcode<\/span>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\t@click=\"navigator.clipboard.writeText(rawCode); copied = true; setTimeout(() => copied = false, 2000)\"\n\t\t\t\tclass=\"flex items-center gap-1.5 px-3 py-1.5 rounded text-[11px] font-medium cursor-pointer transition-all duration-150\"\n\t\t\t\t:class=\"copied\n\t\t\t\t\t? 'bg-green\/20 text-green border border-green\/30'\n\t\t\t\t\t: 'bg-white\/8 text-white\/60 border border-white\/10 hover:bg-white\/14 hover:text-white\/90'\"\n\t\t\t\tstyle=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\"\n\t\t\t>\n\t\t\t\t<template x-if=\"!copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\/>\n\t\t\t\t\t\t<path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<template x-if=\"copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<polyline points=\"20 6 9 17 4 12\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<span x-text=\"copied ? 'Copied!' : 'Copy'\"><\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t\t<div class=\"rounded-b-lg overflow-x-auto\" style=\"background: #1e1e2e;\">\n\t\t\t<pre class=\"px-5 py-4\"><code x-ref=\"codeSource\" class=\"language-bbcode text-[13px] leading-relaxed\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace; color: #cdd6f4;\">[mu_row]\n[mu_column sm=&quot;12&quot; lg=&quot;6&quot;]Left Column[\/mu_column]\n[mu_column sm=&quot;12&quot; lg=&quot;6&quot;]Right Column[\/mu_column]\n[\/mu_row]<\/code><\/pre>\n\t\t<\/div>\n\t<\/div>\n\n<\/div>\n\n<h3>Three Equal Columns<\/h3>\n\n<div x-data=\"{ copied: false, rawCode: '' }\" x-init=\"rawCode = $refs.codeSource.textContent\" class=\"mb-12\">\n\n\t\t\t<div class=\"px-6 py-6 border border-b-0 rounded-t-lg border-gray-200 bg-white\">\n\t\t\t<div class=\"marsha-row mt-4 mb-4 flex flex-wrap -mx-2 lg:-mx-6  justify-start border-0 border-gray-100 first:mt-0\">\n\t\n<div class=\"columns w-full lg:w-4\/12  lg:px-6    mt-6\">\n<div class=\"\">\nLeft Column\n<\/div>\n<\/div>\n\n<div class=\"columns w-full lg:w-4\/12  lg:px-6    mt-6\">\n<div class=\"\">\nMiddle Column\n<\/div>\n<\/div>\n\n<div class=\"columns w-full lg:w-4\/12  lg:px-6    mt-6\">\n<div class=\"\">\nRight Column\n<\/div>\n<\/div>\n\n\n<\/div>\n\n\t\t<\/div>\n\t\n\t<div class=\"\">\n\t\t<div class=\"flex items-center justify-between px-4 py-2.5\" style=\"background: #181825; border-bottom: 1px solid rgba(255,255,255,.06);\">\n\t\t\t<span class=\"text-[11px] font-medium tracking-wide text-white\/40\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\">Shortcode<\/span>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\t@click=\"navigator.clipboard.writeText(rawCode); copied = true; setTimeout(() => copied = false, 2000)\"\n\t\t\t\tclass=\"flex items-center gap-1.5 px-3 py-1.5 rounded text-[11px] font-medium cursor-pointer transition-all duration-150\"\n\t\t\t\t:class=\"copied\n\t\t\t\t\t? 'bg-green\/20 text-green border border-green\/30'\n\t\t\t\t\t: 'bg-white\/8 text-white\/60 border border-white\/10 hover:bg-white\/14 hover:text-white\/90'\"\n\t\t\t\tstyle=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\"\n\t\t\t>\n\t\t\t\t<template x-if=\"!copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\/>\n\t\t\t\t\t\t<path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<template x-if=\"copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<polyline points=\"20 6 9 17 4 12\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<span x-text=\"copied ? 'Copied!' : 'Copy'\"><\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t\t<div class=\"rounded-b-lg overflow-x-auto\" style=\"background: #1e1e2e;\">\n\t\t\t<pre class=\"px-5 py-4\"><code x-ref=\"codeSource\" class=\"language-bbcode text-[13px] leading-relaxed\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace; color: #cdd6f4;\">[mu_row]\n[mu_column sm=&quot;12&quot; lg=&quot;4&quot;]Left Column[\/mu_column]\n[mu_column sm=&quot;12&quot; lg=&quot;4&quot;]Middle Column[\/mu_column]\n[mu_column sm=&quot;12&quot; lg=&quot;4&quot;]Right Column[\/mu_column]\n[\/mu_row]<\/code><\/pre>\n\t\t<\/div>\n\t<\/div>\n\n<\/div>\n\n<h3>75% \/ 25% Split<\/h3>\n\n<div x-data=\"{ copied: false, rawCode: '' }\" x-init=\"rawCode = $refs.codeSource.textContent\" class=\"mb-12\">\n\n\t\t\t<div class=\"px-6 py-6 border border-b-0 rounded-t-lg border-gray-200 bg-white\">\n\t\t\t<div class=\"marsha-row mt-4 mb-4 flex flex-wrap -mx-2 lg:-mx-6  justify-start border-0 border-gray-100 first:mt-0\">\n\t\n<div class=\"columns w-full lg:w-9\/12  lg:px-6    mt-6\">\n<div class=\"\">\nMain Content\n<\/div>\n<\/div>\n\n<div class=\"columns w-full lg:w-3\/12  lg:px-6    mt-6\">\n<div class=\"\">\nSidebar\n<\/div>\n<\/div>\n\n\n<\/div>\n\n\t\t<\/div>\n\t\n\t<div class=\"\">\n\t\t<div class=\"flex items-center justify-between px-4 py-2.5\" style=\"background: #181825; border-bottom: 1px solid rgba(255,255,255,.06);\">\n\t\t\t<span class=\"text-[11px] font-medium tracking-wide text-white\/40\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\">Shortcode<\/span>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\t@click=\"navigator.clipboard.writeText(rawCode); copied = true; setTimeout(() => copied = false, 2000)\"\n\t\t\t\tclass=\"flex items-center gap-1.5 px-3 py-1.5 rounded text-[11px] font-medium cursor-pointer transition-all duration-150\"\n\t\t\t\t:class=\"copied\n\t\t\t\t\t? 'bg-green\/20 text-green border border-green\/30'\n\t\t\t\t\t: 'bg-white\/8 text-white\/60 border border-white\/10 hover:bg-white\/14 hover:text-white\/90'\"\n\t\t\t\tstyle=\"font-family: 'JetBrains Mono', ui-monospace, monospace;\"\n\t\t\t>\n\t\t\t\t<template x-if=\"!copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\/>\n\t\t\t\t\t\t<path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<template x-if=\"copied\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"h-3.5 w-3.5\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n\t\t\t\t\t\t<polyline points=\"20 6 9 17 4 12\"\/>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/template>\n\t\t\t\t<span x-text=\"copied ? 'Copied!' : 'Copy'\"><\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t\t<div class=\"rounded-b-lg overflow-x-auto\" style=\"background: #1e1e2e;\">\n\t\t\t<pre class=\"px-5 py-4\"><code x-ref=\"codeSource\" class=\"language-bbcode text-[13px] leading-relaxed\" style=\"font-family: 'JetBrains Mono', ui-monospace, monospace; color: #cdd6f4;\">[mu_row]\n[mu_column sm=&quot;12&quot; lg=&quot;9&quot;]Main Content[\/mu_column]\n[mu_column sm=&quot;12&quot; lg=&quot;3&quot;]Sidebar[\/mu_column]\n[\/mu_row]<\/code><\/pre>\n\t\t<\/div>\n\t<\/div>\n\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>The columns shortcode is two shortcodes used together: a row wrapper and one or more columns inside it. Columns split the page into a 12-unit grid. To create two equal columns on desktop, assign each a large value of 6 (6 + 6 = 12). For three equal columns, use a value of 4 each<\/p>\n","protected":false},"author":203,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-sidebar-left.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-183","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/pages\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/users\/203"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":8,"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/pages\/183\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/pages\/183\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/www.marshall.edu\/marsha\/wp-json\/wp\/v2\/media?parent=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}