{"id":1847,"date":"2012-10-07T21:57:48","date_gmt":"2012-10-07T21:57:48","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/10\/07\/add-bootstrap\/"},"modified":"2024-01-11T10:57:21","modified_gmt":"2024-01-11T15:57:21","slug":"add-bootstrap","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/","title":{"rendered":"How to add Bootstrap to a Joomla 3.1 Template"},"content":{"rendered":"<p>Now that we have <a href=\"\/support\/edu\/joomla\/joomla-3\/add-css-and-js\/\">added CSS and JS files<\/a> to the Joomla 3.0 template that we are creating, we will now add the necessary bootstrap files.<\/p>\n\n\n\n<p>While the necessary bootstrap files can be downloaded from the <a href=\"https:\/\/twitter.github.com\/bootstrap\/\" target=\"_blank\" rel=\"noopener noreferrer\">official site<\/a>, Joomla 3.0 actually includes the necessary css and javascript bootstrap files as well. As a template developer, this will make incorporating these files much easier. Follow along with this guide to learn how to <strong>add Bootstrap to a Joomla 3.1 template<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Some bootstrap loaded with<\/h2>\n\n\n\n<p>When <a href=\"\/support\/edu\/joomla\/joomla-3\/add-css-and-js\/\">we added within our template\u2019s head tag<\/a>, Joomla automatically added a few JavaScript and CSS files. In the list of files below that Joomla added, you will notice that we\u2019ve highlighted the bootstrap files that it included:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;script src=&quot;\/media\/system\/js\/mootools-core.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt; &lt;script src=&quot;\/media\/system\/js\/core.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;\/media\/system\/js\/caption.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;\/media\/system\/js\/mootools-more.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;\/media\/jui\/js\/jquery.min.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;\/media\/jui\/js\/jquery-noconflict.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;\/media\/jui\/js\/bootstrap.min.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/system\/js\/mootools-core.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt; &lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/system\/js\/core.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/system\/js\/caption.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/system\/js\/mootools-more.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/jui\/js\/jquery.min.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/jui\/js\/jquery-noconflict.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">&lt;<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">src<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"\/media\/jui\/js\/bootstrap.min.js\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">type<\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #9ECBFF\">\"text\/javascript\"<\/span><span style=\"color: #E1E4E8\">&gt;&lt;\/<\/span><span style=\"color: #85E89D\">script<\/span><span style=\"color: #E1E4E8\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What bootstrap files do we need to include?<\/h2>\n\n\n\n<p>According to the <a href=\"https:\/\/twitter.github.com\/bootstrap\/getting-started.html\" target=\"_self\" rel=\"noopener noreferrer\">official bootstrap documentation<\/a>, we need to include the following files:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>bootstrap.css (or bootstrap.min.css)<\/li>\n\n\n\n<li>bootstrap.js (or bootstrap.min.js)<\/li>\n<\/ol>\n\n\n\n<p>As already included <em>bootstrap.min.js<\/em> for us, we only need to include bootstrap.min.css. To do this, we will update our template\u2019s <em>index.php<\/em> on our <a>Joomla hosting server<\/a> to include this file. You can see the code we added below that includes <em>bootstrap.min.css<\/em>, which we\u2019ve highlighted in green:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> <!--?php  $doc = JFactory::getDocument();  <span style=\"color: #008000;\"--><strong>$doc-&gt;addStyleSheet($this-&gt;baseurl . '\/media\/jui\/css\/bootstrap.min.css');<\/strong><\/pre>\n\n\n\n<p>$doc-&gt;addStyleSheet(\u2018templates\/\u2019 . $this-&gt;template . \u2018\/css\/style.css\u2019); $doc-&gt;addScript(\u2018\/templates\/\u2019 . $this-&gt;template . \u2018\/js\/main.js\u2019, \u2018text\/javascript\u2019); ?&gt;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Joomla looks like when bootstrap has been added<\/h2>\n\n\n\n<p>After editing our template\u2019s <em>index.php<\/em> on the server and saving the changes, our template is taking a little more form. You can see in the screenshots below how our template looks with and without this css file.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>\n<div align=\"center\">BEFORE bootstrap.min.css<\/div>\n<\/th><th>\n<div align=\"center\">AFTER bootstrap.min.css<\/div>\n<\/th><\/tr><tr><td><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"1011\" height=\"840\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\" class=\"optimized-lcp-image\" alt=\"before bootstrap css Joomla\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg 1011w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css-300x249.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css-768x638.jpg 768w\"><\/a>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><td><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-bootstrap-css.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-bootstrap-css.jpg\" alt=\"after bootstrap css Joomla\" width=\"240\"><\/a>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Now that we have added CSS and JS files to the Joomla 3.0 template that we are creating, we will now add the necessary bootstrap files. While the necessary bootstrap files can be downloaded from the official site, Joomla 3.0 actually includes the necessary css and javascript bootstrap files as well. As a template developer,<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4403],"tags":[4404],"class_list":["post-1847","post","type-post","status-publish","format-standard","hentry","category-joomla","tag-joomla-v3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, we&#039;ll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.\" \/>\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.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we&#039;ll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-07T21:57:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-11T15:57:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"How to add Bootstrap to a Joomla 3.1 Template\",\"datePublished\":\"2012-10-07T21:57:48+00:00\",\"dateModified\":\"2024-01-11T15:57:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\"},\"wordCount\":297,\"commentCount\":25,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\",\"keywords\":[\"Joomla v3\"],\"articleSection\":[\"Joomla\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\",\"name\":\"How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\",\"datePublished\":\"2012-10-07T21:57:48+00:00\",\"dateModified\":\"2024-01-11T15:57:21+00:00\",\"description\":\"In this tutorial, we'll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg\",\"width\":1011,\"height\":840,\"caption\":\"before bootstrap css Joomla\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add Bootstrap to a Joomla 3.1 Template\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting","description":"In this tutorial, we'll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.","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.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/","og_locale":"en_US","og_type":"article","og_title":"How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting","og_description":"In this tutorial, we'll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-10-07T21:57:48+00:00","article_modified_time":"2024-01-11T15:57:21+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"How to add Bootstrap to a Joomla 3.1 Template","datePublished":"2012-10-07T21:57:48+00:00","dateModified":"2024-01-11T15:57:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/"},"wordCount":297,"commentCount":25,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg","keywords":["Joomla v3"],"articleSection":["Joomla"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/","name":"How to add Bootstrap to a Joomla 3.1 Template | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg","datePublished":"2012-10-07T21:57:48+00:00","dateModified":"2024-01-11T15:57:21+00:00","description":"In this tutorial, we'll show you how to add the bootstrap javascript and css files to a Joomla 3.0 template.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_before-bootstrap-css.jpg","width":1011,"height":840,"caption":"before bootstrap css Joomla"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/add-bootstrap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to add Bootstrap to a Joomla 3.1 Template"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4403,"name":"Joomla","slug":"joomla","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1847"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1847\/revisions"}],"predecessor-version":[{"id":108612,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1847\/revisions\/108612"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}