{"id":7053,"date":"2018-03-09T09:58:11","date_gmt":"2018-03-09T14:58:11","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=7053"},"modified":"2025-11-18T09:38:06","modified_gmt":"2025-11-18T14:38:06","slug":"columns","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/columns\/","title":{"rendered":"Columns"},"content":{"rendered":"<p>Columns can be used to lay out content side by side. For example, a 2-column layout is perfect for placing buttons, images, or text next to each other.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-6 col-sm-6 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><a class=\"btn btn-primary btn-lg  oscitas-bootstrap-container\" target=\"_self\" href=\"#\"><i class=\"glyphicon glyphicon-heart\" style=\"color:#ffffff;\"><\/i> Button 1<\/a>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-6 col-sm-6 oscitas-bootstrap-container\">\n<a class=\"btn btn-primary btn-lg  oscitas-bootstrap-container\" target=\"_self\" href=\"#\"><i class=\"glyphicon glyphicon-star\" style=\"color:#ffffff;\"><\/i> Button 2<\/a>\n<\/div>\n<\/div>\n<p>Behind the scenes, columns use a 12-block grid system. This flexible layout system allows you to mix and match column widths to create a variety of layouts.<br \/>\n<div class=\"row show-grid oscitas-bootstrap-container\">\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">1<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">2<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">3<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">4<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">5<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">6<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">7<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">8<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">9<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">10<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">11<\/p>\n<\/div>\n<div class=\"col-lg-1 col-md-1 col-xs-12 col-sm-1 oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">12<\/p>\n<\/div>\n<\/div>\n<p>You&#8217;ll never use all 12 columns as that would make each column too narrow to fit any content. Instead, combine grids to create more usable layouts. Assign up to 12 grids per column to define the width of each column. Most of the time, the columns have to add up to 12 (see below for exceptions).<\/p>\n<hr  style=\"margin:40px 0\"class=\" rule-thin osc-rule\" \/>\n<h2>Examples<\/h2>\n<h3>2 Columns With the Same Width<\/h3>\n<p>Each column in the example below was assigned 6 grids (6 + 6 = 12).<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class=\"panel panel-info  oscitas-bootstrap-container\">\n<div class=\"panel-heading oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><strong>QUESTIONS?<\/strong><\/p>\n<\/div>\n<div class=\"panel-body oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">For questions or inquiries, contact <a href=\"#\">email@med.unc.edu<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class=\"panel panel-info  oscitas-bootstrap-container\">\n<div class=\"panel-heading oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><strong>TRAINING NEWS<\/strong><\/p>\n<\/div>\n<div class=\"panel-body oscitas-bootstrap-container\">\n<p style=\"text-align: center;\">Stay current on training opportunities<br \/>\n<a href=\"#\">Join our training news email list<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3>2 Columns of Unequal Width<\/h3>\n<p>The first column in the example below was assigned 4 grids and the second column was assigned 8 grids (4 + 8 = 12). You can assign however many grids per column so long as they add up to 12 (there is an exception that is explained below).<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-4 col-md-4 col-xs-12 col-sm-4 oscitas-bootstrap-container\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14339\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02.jpg\" alt=\"UNC's Old Well.\" width=\"900\" height=\"600\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02.jpg 900w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02-300x200.jpg 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02-768x512.jpg 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02-600x400.jpg 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/old-well-02-560x373.jpg 560w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<\/div>\n<div class=\"col-lg-8 col-md-8 col-xs-12 col-sm-8 oscitas-bootstrap-container\">\n<h3>This is a Header<\/h3>\n<p>This 2-column layout is split 1\/3 and 2\/3. The first column uses 4 grids and the second uses 8 grids which adds up to 12.<\/p>\n<\/div>\n<\/div>\n<h3>3 Columns With Equal Width<\/h3>\n<p>Each column in the example below was assigned 4 grids (4 + 4 + 4 = 12).<\/p>\n<div class=\"row center-content oscitas-bootstrap-container\">\n<div class=\"col-lg-4 col-md-4 col-xs-12 col-sm-4 oscitas-bootstrap-container\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone size-full wp-image-7074\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/cardiology-600x467.jpg\" alt=\"\" width=\"600\" height=\"467\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/cardiology-600x467.jpg 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/cardiology-600x467-300x234.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>Education<\/h3>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vel nibh pretium, luctus libero nec, tristique nunc.<\/p>\n<\/div>\n<div class=\"col-lg-4 col-md-4 col-xs-12 col-sm-4 oscitas-bootstrap-container\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone size-full wp-image-7075\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/general-practice-600x467.jpg\" alt=\"\" width=\"600\" height=\"467\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/general-practice-600x467.jpg 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/general-practice-600x467-300x234.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>Research<\/h3>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vel nibh pretium, luctus libero nec, tristique nunc.<\/p>\n<\/div>\n<div class=\"col-lg-4 col-md-4 col-xs-12 col-sm-4 oscitas-bootstrap-container\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone size-full wp-image-7076\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/pediatrics-600x467.jpg\" alt=\"\" width=\"600\" height=\"467\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/pediatrics-600x467.jpg 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2018\/03\/pediatrics-600x467-300x234.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>Patient Care<\/h3>\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vel nibh pretium, luctus libero nec, tristique nunc.<\/p>\n<\/div>\n<\/div>\n<hr  style=\"margin:40px 0\"class=\" rule-thin osc-rule\" \/>\n<h2>How to Add Columns<\/h2>\n<h3>Insert Columns<\/h3>\n<p>In the editor toolbar, select <strong>Content Elements <\/strong>then choose <strong>Columns<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone list-image wp-image-12039 size-full\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2022\/05\/16AFC7AF-748B-4361-AA7D-233F78EDB42A_4_5005_c.jpeg\" alt=\"EBS Columns\" width=\"373\" height=\"216\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Configure the Columns<\/h3>\n<p><strong>No of Columns<\/strong> &#8211; select how many columns you want in your layout.<\/p>\n<p><strong>Column Division<\/strong> &#8211; define how to divide the available space across the columns.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14326 size-full\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-01.png\" alt=\"Screenshot of the columns shortcode settings showing Number of Columns and Column Division.\" width=\"417\" height=\"154\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-01.png 417w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-01-300x111.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Column Specification<\/strong> &#8211; this lets you control how wide each column is for different screen sizes &#8211; <strong>Large, Medium, Small, and X-small<\/strong>. This is important because what looks good on a desktop might not work on a phone. Customizing the column widths for each screen size ensures your content is responsive and easy to read on any device.<\/p>\n<ul>\n<li>For <strong>Large<\/strong> screens, column widths are automatically assigned based on the <strong>Column Division<\/strong> setting.<\/li>\n<li>For <strong>Medium<\/strong>, <strong>Small<\/strong>, and <strong>X-small<\/strong> screens, each column defaults to 12 (full width), but you can change this.<\/li>\n<li>Each column can be assigned a value from 1 to 12, and the total should add up to 12 \u2013 with one exception.<\/li>\n<li>In most cases, the grid value used for <strong>Large<\/strong> screens work well for <strong>Medium<\/strong> and <strong>Small<\/strong> screens.<\/li>\n<li>Here\u2019s the exception where you might not want the columns to add up to 12. On <strong>X-Small screens<\/strong>, content can become cramped if columns are displayed side by side. In these cases, it\u2019s best to have the columns stack vertically. To do this, simply assign each column the full 12 grids. See the \u201cResponsive Layout\u201d section below for further explanation.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14343 size-full\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02.png\" alt=\"Screenshot of the columns shortcode settings.\" width=\"1112\" height=\"563\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02.png 1112w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02-300x152.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02-1024x518.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02-768x389.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02-600x304.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-settings-02-560x284.png 560w\" sizes=\"auto, (max-width: 1112px) 100vw, 1112px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Responsive Layout<\/h3>\n<p>The columns shortcode is a 12-grid system, which means each row has up to 12 grids available per screen size.<\/p>\n<p>To create responsive layouts, you have two options:<\/p>\n<ul>\n<li><strong>Side-by-side layout<\/strong>: divide the 12 grids across multiple columns (e.g., 6 + 6, 4 + 4 + 4, 5 + 7). This is why you are using the columns shortcode &#8211; because you want to lay out content side by side. However, this type of layout doesn&#8217;t always work well on x-small screen sizes. On x-small screen sizes, a stacked layout in preferred.<\/li>\n<li><strong>Stacked layout<\/strong>: Assign each column the full 12 grids to make them stack vertically.<\/li>\n<\/ul>\n<p>To make the 4-column layout below responsive, I used the following settings:<\/p>\n<ul>\n<li><strong>Large<\/strong> screens &#8211; each column was assigned 3 grids (3 + 3 + 3 + 3 = 12).<\/li>\n<li><strong>Medium <\/strong>and<strong> Small<\/strong> screens &#8211; I want the layout to change so that the second two columns stack below the first two. To do this, each column was assigned 6 grids.<\/li>\n<li><strong>X-small<\/strong> screens &#8211;\u00a0 I want all the columns to stack on top of each other so each column was assigned 12 grids.<\/li>\n<\/ul>\n<p>Resize your browser window to see the responsive design in action.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-3 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class = \"alert alert-info  oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><i class=\" fa fa-user-md \" style=\"color:#257cb7; font-size:40px;\"><\/i>\n<h4 style=\"text-align: center;\">Directory<\/h4>\n<\/div>\n<\/div>\n<div class=\"col-lg-3 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class = \"alert alert-info  oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><i class=\" fa fa-file-text \" style=\"color:#257cb7; font-size:40px;\"><\/i>\n<h4 style=\"text-align: center;\">Newsletter<\/h4>\n<\/div>\n<\/div>\n<div class=\"col-lg-3 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class = \"alert alert-info  oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><i class=\" fa fa-envelope \" style=\"color:#257cb7; font-size:40px;\"><\/i>\n<h4 style=\"text-align: center;\">Contact Us<\/h4>\n<\/div>\n<\/div>\n<div class=\"col-lg-3 col-md-6 col-xs-12 col-sm-6 oscitas-bootstrap-container\">\n<div class = \"alert alert-info  oscitas-bootstrap-container\">\n<p style=\"text-align: center;\"><i class=\" fa fa-heart \" style=\"color:#257cb7; font-size:40px;\"><\/i>\n<h4 style=\"text-align: center;\">Donate<\/h4>\n<\/div>\n<\/div>\n<\/div>\n<p>This is what the settings look like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14334 size-full\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example.png\" alt=\"Screenshot of a 4-column layout. The setting are outlined in the documenation.\" width=\"1111\" height=\"516\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example.png 1111w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example-300x139.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example-1024x476.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example-768x357.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example-600x279.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-4-column-example-560x260.png 560w\" sizes=\"auto, (max-width: 1111px) 100vw, 1111px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Centering Content<\/h3>\n<p>Adding <strong>center-content<\/strong> to the <strong>Custom Class<\/strong> field will center the content within all columns.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14329 size-full\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-center-content.png\" alt=\"Screenshot of the Custom Class field with the center-content class applied.\" width=\"386\" height=\"39\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-center-content.png 386w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-shortcode-center-content-300x30.png 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>The Shortcode<\/h3>\n<p>Once you&#8217;ve defined the settings and clicked the <strong>Insert Columns<\/strong> button, shortcode will be place on your page.\u00a0 This shortcode is what defines your columns.\u00a0 It starts with an opening <strong>[row]<\/strong> tag and ends with a closing <strong>[\/row]<\/strong> tag.\u00a0 Within the row is code for each column.\u00a0 A starting column <strong>[column]<\/strong>\u00a0and ending <strong>[\/column]<\/strong> tag.\u00a0 Within each column tag is the word <strong>Text<\/strong>.\u00a0 This is placeholder text that you need to replace with your own content &#8211; images, headers, text, links, other shorcode such as <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/buttons\/\">buttons<\/a> or <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/notification-boxes\/\">notification boxes<\/a>, etc. <strong>Be sure to keep all your content within the opening and closing [column]\u00a0 [\/column] tags.<\/strong><\/p>\n<h2>Alternative &#8211; the Cells Plugin<\/h2>\n<p>Be aware that the <a href=\"https:\/\/www.med.unc.edu\/webguide\/cells\">Cells plugin<\/a> offers several layout options that display content in columns. These are pre-designed templates where you simply drop in your content. In some cases, Cells layouts can be a quicker and more flexible alternative to using the columns shortcode. However, they may not always meet your exact design needs, so it\u2019s worth exploring both options to see which works best for your content.<\/p>\n<hr  style=\"margin:40px 0\"class=\" rule-thin osc-rule\" \/>\n<h2>Examples On SOM Sites<\/h2>\n<p>Click on any image below for a larger version.<\/p>\n<h3>Example 1<\/h3>\n<p>Some sites, such as the Department of Medicine and Lineberger, use columns to display a large quantity of links.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-12 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14388\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger.png\" alt=\"Example of the columns shortcode being used on the Lineberger website which displays a large quantity of links. Links to larger version of same image.\" width=\"700\" height=\"1129\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger.png 860w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger-186x300.png 186w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger-635x1024.png 635w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger-768x1239.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger-600x968.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-lineberger-560x903.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14389\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine.png\" alt=\"Example of the columns shortcode being used on the Department of Medicine website which displays links to their divisions and centers. Links to larger version of same image.\" width=\"700\" height=\"493\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine.png 963w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-300x211.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-768x541.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-600x422.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-560x394.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Example Two<\/h3>\n<p>Some sites use columns to display news and events side-by-side. Or, in the Faculty Affairs example, they display upcoming events and workshop recordings side-by-side using the columns shortcode.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14391\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi.png\" alt=\"Example of the columns shortcode being used on the IHQI website which displays news and upcoming events side by side. Links to larger version of same image.\" width=\"700\" height=\"1099\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi.png 1155w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-191x300.png 191w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-652x1024.png 652w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-768x1206.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-978x1536.png 978w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-600x942.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-ihqi-560x880.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14390\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs.png\" alt=\"Example of the columns shortcode being used on the Faculty Affairs website which displays upcoming events and workshop recordings side by side. Links to larger version of same image.\" width=\"700\" height=\"462\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs.png 1169w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs-300x198.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs-1024x675.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs-768x507.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs-600x396.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-faculty-affairs-560x369.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Example Three<\/h3>\n<p>A lot of our sites like to nest other shortcode options, such as <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/notification-boxes\/\">notification boxes<\/a>, <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/buttons\/\">buttons<\/a> and <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/styled-boxes\/\">panel boxes<\/a>, inside of columns.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14394\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center.png\" alt=\"Example from the UNC Kidney Center website with notification box shortcode being used inside the columns shortcode. Links to larger version of same image.\" width=\"700\" height=\"499\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center.png 861w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center-300x214.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center-768x548.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center-600x428.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-kidney-center-560x399.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14395\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch.png\" alt=\"Example from the TEACCH website with multiple buttons displaying inside a two-column layout. Links to larger version of same image.\" width=\"700\" height=\"269\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch.png 868w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-300x115.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-768x295.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-600x230.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-560x215.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14396\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology.png\" alt=\"A three-column example from the Urology website with notification box shortcode being used inside the columns shortcode. Links to larger version of same image.\" width=\"700\" height=\"1085\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology.png 866w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology-194x300.png 194w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology-661x1024.png 661w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology-768x1190.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology-600x930.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-urology-560x868.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14397\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2.png\" alt=\"A two-column example from the TEACCH website with panel boxes being used inside each column. Links to larger version of same image.\" width=\"700\" height=\"783\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2.png 858w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2-268x300.png 268w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2-768x859.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2-600x671.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-teacch-2-560x627.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>Example Four<\/h3>\n<p>Below are some examples of the columns shortcode used to display a variety of content.<\/p>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14402\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2.png\" alt=\"Example from the Department of Medicine website where multiple two-column layouts are being used to lay out content. Links to larger version of same image.\" width=\"700\" height=\"1046\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2.png 863w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2-201x300.png 201w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2-685x1024.png 685w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2-768x1148.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2-600x897.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-medicine-2-560x837.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14405\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych.png\" alt=\"A two-column layout from the Department of Psychiatry which displays center and program location in the first column and a photo of the location in the second column. Links to larger version of same image.\" width=\"700\" height=\"797\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych.png 864w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-263x300.png 263w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-768x875.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-600x683.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-560x638.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row  oscitas-bootstrap-container\">\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14403\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2.png\" alt=\"Example from the Department of Psychiatry website of a two-column layout. Links to larger version of same image.\" width=\"700\" height=\"475\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2.png 1161w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2-300x203.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2-1024x694.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2-768x521.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2-600x407.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-psych-2-560x380.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-6 col-xs-12 col-sm-12 oscitas-bootstrap-container\">\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide.png\"><img loading=\"lazy\" decoding=\"async\" class=\"imageBorder alignnone wp-image-14404\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide.png\" alt=\"Example from the Web Guide home page where two, two-column layouts are being used back to back. The end result is a four grid layout that highlights upcoming trainings and major sections of Web Guide. Links to larger version of same image.\" width=\"700\" height=\"655\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide.png 1155w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide-300x281.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide-1024x958.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide-768x718.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide-600x561.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2025\/07\/columns-example-web-guide-560x524.png 560w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Columns can be used to lay out content side by side. For example, a 2-column layout is perfect for placing buttons, images, or text next to each other. Behind the scenes, columns use a 12-block grid system. This flexible layout system allows you to mix and match column widths to create a variety of layouts. &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/columns\/\" aria-label=\"Read more about Columns\">Read more<\/a><\/p>\n","protected":false},"author":3206,"featured_media":0,"parent":2212,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-7053","page","type-page","status-publish","hentry","odd"],"acf":[],"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/3206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=7053"}],"version-history":[{"count":41,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7053\/revisions"}],"predecessor-version":[{"id":14413,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7053\/revisions\/14413"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/2212"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=7053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}