{"id":3323,"date":"2018-01-09T14:12:09","date_gmt":"2018-01-09T19:12:09","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?p=3323"},"modified":"2020-02-26T09:17:03","modified_gmt":"2020-02-26T14:17:03","slug":"understanding-bootstraps-grid-system","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/","title":{"rendered":"Understanding Bootstrap&#8217;s Grid System"},"content":{"rendered":"    \t\t<div class=\"hts-messages hts-messages--success    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThis article has been updated to work with Bootstrap v.4.2.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><span style=\"font-weight: 400;\">Bootstrap is a framework for building a website. It cuts out the need to build the base for a site. Instead, you can download the Bootstrap files to your server, then add a Bootstrap template. There are instructions on how to do this in our <\/span><a href=\"https:\/\/www.pair.com\/support\/kb\/setting-up-bootstrap-on-your-server\/\"><span style=\"font-weight: 400;\">Setting Up Bootstrap<\/span><\/a><span style=\"font-weight: 400;\"> article. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">This will give you a basic site. However, what really makes Bootstrap impressive is its wide array of website components that can be added to the site. Since Bootstrap already has a built-in CSS and Javascript, components are already styled and functional. Of course, you can edit the CSS and Javascript to customize your site to your tastes.<\/span><\/p>\n<h3>The Bootstrap Grid System<\/h3>\n<p><span style=\"font-weight: 400;\">Bootstrap relies on a grid system in order to properly scale components for different viewing screens. This may sound confusing, but we\u2019re going to break down how the grid system works in this article. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The Bootstrap grid system is made up of containers, rows, and column, all of which are used to define the site\u2019s layout.<\/span><\/p>\n<h4>Containers<\/h4>\n<p><span style=\"font-weight: 400;\">Bootstrap containers are used to establish the width for the layout. Elements are added within the containers and will be affected by the container\u2019s width. A container is a <\/span><span style=\"font-family: monospace;\"><span style=\"font-weight: 400;\">&lt;div&gt;<\/span><\/span><span style=\"font-weight: 400;\"> element with a <span style=\"font-weight: 400; font-family: monospace;\">class=\u201ccontainer\u201d<\/span><\/span><span style=\"font-weight: 400;\">. The container will affect all elements within the <\/span><span style=\"font-weight: 400; font-family: monospace;\">&lt;div&gt;<\/span><span style=\"font-weight: 400;\"> container. <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\u201ccontainer\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0&lt;!-- container contents go here --&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Containers have a 15 pixel padding by default, which cushions it from the end of the page and from other containers.<a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3334\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1.png\" alt=\"container example image\" width=\"788\" height=\"315\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1.png 788w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1-300x120.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1-768x307.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1-60x24.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1-150x60.png 150w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Rows and columns will be added inside the containers. <\/span><\/p>\n    \t\t<div class=\"hts-messages hts-messages--danger   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDo not nest a container within a container.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h5>Fixed-Width Containers<\/h5>\n<p><span style=\"font-weight: 400;\">Containers have default fixed widths that will change based on the size of the viewing device. The viewing device width and corresponding container width are listed in the table below:<br \/>\n<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Viewing Device Width<\/b><\/td>\n<td><b>Container Width<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Less than 575px<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Auto<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">576px \u00a0to 767px<\/span><\/td>\n<td><span style=\"font-weight: 400;\">540px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">768px to 991px<\/span><\/td>\n<td><span style=\"font-weight: 400;\">720px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">992px to 1199px<\/span><\/td>\n<td><span style=\"font-weight: 400;\">960px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">1200px or higher<\/span><\/td>\n<td><span style=\"font-weight: 400;\">1140px<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Fluid Containers<\/h5>\n<p><span style=\"font-weight: 400;\">If you don\u2019t want the containers to resize in fixed widths, you can use the\u00a0<\/span><span style=\"font-weight: 400; font-family: monospace;\">class=\u201dcontainer-fluid\u201d<\/span><span style=\"font-weight: 400;\"> instead of<\/span><span style=\"font-weight: 400; font-family: monospace;\"> class=\u201dcontainer\u201d<\/span><span style=\"font-weight: 400;\">. Doing this will cause the containers to always match the width of the viewing screen, rather than resize to a fixed width.<\/span><\/p>\n<h4>Columns and Rows<\/h4>\n<p><span style=\"font-weight: 400;\">The Bootstrap grid system allows up to 12 columns across a page. These columns can be used singly or grouped together. To group the columns together, you need to create rows. To create rows, add a div with a <\/span><span style=\"font-weight: 400;\">class=\u201crow\u201d<\/span><span style=\"font-weight: 400;\"> that encases the column code. <\/span><\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<b>\u00a0<\/b><span style=\"font-weight: 400;\">Rows must always be placed inside of a container.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><span style=\"font-weight: 400;\">Example: <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\u201dcontainer\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;div class=\u201drow\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">    &lt;div class=\u201dcol-xs-6 col-md-4\u201d&gt;The content within the column.&lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Rows span the width of the container. They have a negative 15 pixel margin at the end, essentially removing the 15 pixel margin set by its container. This is because the columns each have a 15 pixel margin of their own that replaces the container\u2019s margin.\u00a0<\/span><\/p>\n<figure id=\"attachment_3335\" aria-describedby=\"caption-attachment-3335\" style=\"width: 797px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-3335 size-full\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row.png\" alt=\"Row Example Image\" width=\"797\" height=\"460\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row.png 797w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row-300x173.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row-768x443.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row-60x35.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Row-150x87.png 150w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/a><figcaption id=\"caption-attachment-3335\" class=\"wp-caption-text\">Rows have a -15 px padding that negates the container's 15 px padding.<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\">Columns aligned next to each other will each have a 15 pixel margin, resulting in a 30 pixel margin between the two columns.Content within the column will be affected by the column\u2019s 15 pixel margin. <\/span><\/p>\n<figure id=\"attachment_3337\" aria-describedby=\"caption-attachment-3337\" style=\"width: 797px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-3337 size-full\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col.png\" alt=\"column example image\" width=\"797\" height=\"462\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col.png 797w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col-300x174.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col-768x445.png 768w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col-60x35.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/col-150x87.png 150w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/a><figcaption id=\"caption-attachment-3337\" class=\"wp-caption-text\">Columns have a 15 px padding. Columns next to each other will both have a 15 px padding, resulting in a 30 px buffer.<\/figcaption><\/figure>\n<h5>Adding Columns<\/h5>\n<p><span style=\"font-weight: 400;\">Bootstrap columns sizing can be distinguished by the column classes. The column classes are usually set up in the \u201ccol-<\/span><i><span style=\"font-weight: 400;\">prefix<\/span><\/i><span style=\"font-weight: 400;\">-<\/span><i><span style=\"font-weight: 400;\">ColumnNumber<\/span><\/i><span style=\"font-weight: 400;\">\u201d format, which will resemble this example: <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\u201ccontainer\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;div class=\u201crow\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">    &lt;div class=\u201c<\/span><span style=\"font-weight: 400;\">col-sm-8<\/span><span style=\"font-weight: 400;\">\u201d&gt; Content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">    &lt;div class=\u201c<\/span><span style=\"font-weight: 400;\">col-sm-4<\/span><span style=\"font-weight: 400;\">\u201d&gt; Content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/pre>\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Columns <\/span><i><span style=\"font-weight: 400;\">must<\/span><\/i><span style=\"font-weight: 400;\"> be placed inside of a <\/span><span style=\"font-weight: 400;\">row<\/span><span style=\"font-weight: 400;\">.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><span style=\"font-weight: 400;\">Replace the <\/span><i><span style=\"font-weight: 400;\">prefix<\/span><\/i><span style=\"font-weight: 400;\"> and <\/span><i><span style=\"font-weight: 400;\">ColumnNumber <\/span><\/i><span style=\"font-weight: 400;\">with the preferred prefix size and number of columns. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Prefixes define what device the column is meant for. For example, the <\/span><i><span style=\"font-weight: 400;\">sm<\/span><\/i><span style=\"font-weight: 400;\"> is designed for small screens, like phones.<br \/>\n<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Size<\/b><\/td>\n<td><b>Prefix<\/b><\/td>\n<td><b>Column<\/b><\/td>\n<td><b>For<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Extra Small<\/span><\/td>\n<td><span style=\"font-weight: 400;\">None (default)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">.col-<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&lt;576<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Small (phones)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">sm<\/span><\/td>\n<td><span style=\"font-weight: 400;\">.col-sm-<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u2265576px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Medium (tablets)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">md<\/span><\/td>\n<td><span style=\"font-weight: 400;\">.col-md-<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u2265768px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Large (laptops)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">lg<\/span><\/td>\n<td><span style=\"font-weight: 400;\">.col-lg-<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u2265992px<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Extra Large (desktops)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">xl<\/span><\/td>\n<td><span style=\"font-weight: 400;\">.col-xl-<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u22651200px<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\"><br \/>\nThe\u00a0<i>ColumnNumber <\/i>at the end of grid class, such as <span style=\"font-family: monospace;\">class=\u201ccol-md-<span style=\"font-weight: 400; color: #ff0000;\">4<\/span>\u201d<\/span>, establishes how many columns that it should span. In the example, <span style=\"font-family: monospace;\">class=\u201ccol-md-<span style=\"font-weight: 400; color: #ff0000;\">4<\/span>\u201d<\/span>, the content within the column\u2019s <span style=\"font-weight: 400; font-family: monospace;\">&lt;div&gt;<\/span> would span four columns on a medium sized device, like a laptop. When a column is set with a prefix for a smaller device, such as a <\/span><i><span style=\"font-weight: 400;\">sm<\/span><\/i><span style=\"font-weight: 400;\">, it will display similarly on larger devices as well. In other words, a column defined as <\/span><i><span style=\"font-weight: 400;\">sm<\/span><\/i><span style=\"font-weight: 400;\"> will work for devices of tablet size or larger. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">To make columns align side-by-side, include them in the same row. <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\"row\"&gt;<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0&lt;div class=\"col-md-4\"&gt; Content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0&lt;div class=\"col-md-8\"&gt; Content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span>\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">In the end, you want your columns in a row to add up to twelve.<\/span><\/p>\n<h5>Adjusting Columns for Different Devices<\/h5>\n<p><span style=\"font-weight: 400;\">You can also adjust your columns so that they will have different column widths per device size. To do this, you simply include another <\/span><span style=\"font-weight: 400; font-family: monospace;\">col-prefix-columnNumber<\/span><span style=\"font-weight: 400;\"> to your class. It will look something like this: <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\u201dcontainer\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;div class=\u201drow\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">    &lt;div class=\u201dcol-xs-6 col-sm-4\u201d&gt; Content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">In the example, the content would be positioned across six columns for extra-small viewing screens, while medium viewing screens would change the content to show across four columns.<\/span><\/p>\n<h5>Nesting Columns<\/h5>\n<p><span style=\"font-weight: 400;\">You can nest columns once you have a container, row, and column set up. \u00a0To do this, add a new row <\/span><span style=\"font-weight: 400;\">&lt;div&gt;<\/span><span style=\"font-weight: 400;\"> within the parent column\u2019s code, then add your nested columns. It will function as if the area inside the new row is its own grid system. <\/span><\/p>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;div class=\u201ccontainer\u201d&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;div class=\u201crow\u201d&gt;<\/span>\r\n   <span style=\"font-weight: 400;\">&lt;div class= \u201c<\/span><span style=\"font-weight: 400;\">col-sm-6\u201d&gt; Parent column content<\/span>\r\n<span style=\"font-weight: 400;\">     &lt;div class=\u201crow\u201d&gt; <\/span>\r\n<span style=\"font-weight: 400;\">         &lt;div class=\u201ccol-xs-6\u201d&gt; Child column content &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">     &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">   &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">  &lt;\/div&gt;<\/span>\r\n<span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/pre>\n    \t\t<div class=\"hts-messages hts-messages--info    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tBootstrap is an open-source CSS framework permissive under an MIT license. Bootstrap is not a product of Pair Networks, Inc., and Pair Networks provides no warranty for Bootstrap. Please note that there are many levels of CSS frameworks available. Please consult with your IT professional for advice and guidance on an appropriate CSS framework. This specific product may or may not meet your needs. Pair Networks, Inc. is providing support for this tutorial for your convenience and is not responsible for Bootstrap's performance. Please read carefully the terms and scope of services for any online service or product you are considering purchasing or using.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>Bootstrap is a framework for building a website. It cuts out the need to build the base for a site. Instead, you can download the Bootstrap files to your server, then add a Bootstrap template. There are instructions on how to do this in our Setting Up Bootstrap article. This&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[33],"ht-kb-tag":[187],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Understanding Bootstrap&#039;s Grid System - Knowledge Base - Pair Networks<\/title>\n<meta name=\"description\" content=\"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding Bootstrap&#039;s Grid System - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-26T14:17:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/\",\"name\":\"Understanding Bootstrap's Grid System - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2018-01-09T19:12:09+00:00\",\"dateModified\":\"2020-02-26T14:17:03+00:00\",\"description\":\"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding Bootstrap&#8217;s Grid System\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding Bootstrap's Grid System - Knowledge Base - Pair Networks","description":"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.","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:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/","og_locale":"en_US","og_type":"article","og_title":"Understanding Bootstrap's Grid System - Knowledge Base - Pair Networks","og_description":"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.","og_url":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2020-02-26T14:17:03+00:00","og_image":[{"url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2018\/01\/Container-1.png"}],"twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/","url":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/","name":"Understanding Bootstrap's Grid System - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2018-01-09T19:12:09+00:00","dateModified":"2020-02-26T14:17:03+00:00","description":"Bootstrap relies on a grid system in order to properly scale components for different viewing screens. Learn about using the bootstrap grid system here.","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/understanding-bootstraps-grid-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"Understanding Bootstrap&#8217;s Grid System"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/3323"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=3323"}],"version-history":[{"count":20,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/3323\/revisions"}],"predecessor-version":[{"id":7423,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/3323\/revisions\/7423"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=3323"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=3323"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=3323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}