{"id":1848,"date":"2012-10-07T23:19:03","date_gmt":"2012-10-08T03:19:03","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/10\/07\/make-responsive\/"},"modified":"2021-02-15T18:22:47","modified_gmt":"2021-02-15T23:22:47","slug":"make-responsive","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/","title":{"rendered":"How to make a Joomla 3.1 Template Responsive"},"content":{"rendered":"<p>As we continue creating our Joomla 3.0 template from scratch, we will now make the template responsive.<\/p>\n<p>Much of this tutorial is going to be simply showing you the changes that we\u2019re making to the template, but we\u2019ll add a few descriptions of what we\u2019re doing and why when necessary. We recommend that you read the official bootstrap documentation <a href=\"https:\/\/twitter.github.com\/bootstrap\/scaffolding.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> on how to make a template responsive using bootstrap.<\/p>\n<h2>Our template as it looks now<\/h2>\n<p><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"800\" height=\"492\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\" class=\"optimized-lcp-image\" alt=\"our-template-before-making-responsive\" 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_our-template-before-making-responsive.jpg 800w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive-300x185.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive-768x472.jpg 768w\"><\/a><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>You can see in the screenshot to the right how our Joomla 3.0 template looks at this time.<\/p>\n<div style=\"clear: both;\"><\/div>\n<h2>Removing any css that controls page structure<\/h2>\n<p><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-removing-css.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" style=\"margin: 0px 0px 15px 15px; float: right;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-removing-css.jpg\" alt=\"after-removing-css\" width=\"800\" height=\"496\"><\/a><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>As Bootstrap and its responsive features basically control the structure of the page, we can remove any previous CSS that we\u2019ve added that deals with the layout of the page (vs. styling the page, as in colors , font sizes, etc.)<\/p>\n<p>All of the code in our css\/style.css file controls the template\u2019s layout, so we are going to delete all of the code in that file. The screenshot to the right shows our template after all the code has been deleted from our css\/style.css file.<\/p>\n<div style=\"clear: both;\"><\/div>\n<h2>Adding bootstrap-responsive.css and the viewport meta tag<\/h2>\n<p>As per the official documentation, we need to add the following two lines of code to our template to turn on the responsive features:<\/p>\n<pre class=\"code_block\">&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\n&lt;link href=\"\/support\/assets\/css\/bootstrap-responsive.css\" rel=\"stylesheet\"&gt;<\/pre>\n<p>The following lines, highlighted in green below, show how we incorporated this code in our template\u2019s index.php file.<\/p>\n<pre class=\"code_block\">&lt;?php\n$doc = JFactory::getDocument();\n$doc-&gt;addStyleSheet($this-&gt;baseurl . '\/media\/jui\/css\/bootstrap.min.css');\n<strong>$doc-&gt;addStyleSheet($this-&gt;baseurl . '\/media\/jui\/css\/bootstrap-responsive.css');<\/strong>\n$doc-&gt;addStyleSheet('templates\/' . $this-&gt;template . '\/css\/style.css');\n$doc-&gt;addScript('\/templates\/' . $this-&gt;template . '\/js\/main.js', 'text\/javascript');\n?&gt;\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n    &lt;jdoc:include type=\"head\" \/&gt;\n    <strong>&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;<\/strong>\n&lt;\/head&gt;<\/pre>\n<p>We won\u2019t show you a screenshot of these changes, as at this point they have made no impact to how the template looks.<\/p>\n<h2>Adding the container class<\/h2>\n<p>The bootstrap documentation says to set the main div that holds all of your content to a class of container. In our starting template, the main div has a class of main_container, as seen in the code below:<\/p>\n<pre class=\"code_block\">&lt;body&gt;\n    &lt;!-- main container --&gt;\n    <strong>&lt;div class='main_container'&gt;<\/strong><\/pre>\n<p>After making the necessary change, changing the class from main_container to container, our code looks like this:<\/p>\n<pre class=\"code_block\">&lt;body&gt;\n    &lt;!-- main container --&gt;\n    <strong>&lt;div class='container'&gt;<\/strong><\/pre>\n<p><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-adding-container-class.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" style=\"margin: 0px 0px 15px 15px; float: right;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_after-adding-container-class.jpg\" alt=\"after-adding-container-class\" width=\"800\" height=\"494\"><\/a><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>As you can see in the screenshot to the right, our template is now taking a little more form to it.<\/p>\n<div style=\"clear: both;\"><\/div>\n<h2>Adding row and span* classes<\/h2>\n<p>Again, you\u2019ll want to read the <a href=\"https:\/\/twitter.github.com\/bootstrap\/scaffolding.html\" target=\"_blank\" rel=\"noopener noreferrer\">official documentation<\/a> to learn more about adding row and span classes to your template. In essense, the row class defines a container that will hold span* classes. A row is divided into 12 columns. If you wanted one column to be 3\/4 of the page, and another to be 1\/4 of the page, those fractions would equate to 9 and 3. The bellow is a basic example of how you could setup the 3\/4 and 1\/4 layout:<\/p>\n<pre class=\"code_block\">&lt;div class=\"<strong>row<\/strong>\"&gt;\n  &lt;div class=\"<strong>span9<\/strong>\"&gt;Larger content area&lt;\/div&gt;\n  &lt;div class=\"<strong>span3<\/strong>\"&gt;Smaller sidebar area&lt;\/div&gt;\n&lt;\/div&gt;<\/pre>\n<p><a href=\"\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_responsive-template-completed.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" style=\"margin: 0px 0px 15px 15px; float: right;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_responsive-template-completed.jpg\" alt=\"responsive-template-completed\" width=\"800\" height=\"494\"><\/a><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>In the screenshot to the right, you\u2019ll see our template after being setup with the row and span classes. Below, you\u2019ll find the code that makes up our index.php file after making all the changes discussed on this page.<\/p>\n<div style=\"clear: both;\"><\/div>\n<h3>Our template\u2019s index.php file up to this point<\/h3>\n<pre class=\"code_block\">&lt;?php\n$doc = JFactory::getDocument();\n$doc-&gt;addStyleSheet($this-&gt;baseurl . '\/media\/jui\/css\/bootstrap.min.css');\n$doc-&gt;addStyleSheet($this-&gt;baseurl . '\/media\/jui\/css\/bootstrap-responsive.css');\n$doc-&gt;addStyleSheet('templates\/' . $this-&gt;template . '\/css\/style.css');\n$doc-&gt;addScript('\/templates\/' . $this-&gt;template . '\/js\/main.js', 'text\/javascript');\n?&gt;\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n    &lt;jdoc:include type=\"head\" \/&gt;\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;!-- main container --&gt;\n    &lt;div class='container'&gt;\n        &lt;!-- header --&gt;\n        &lt;div class='<strong>row<\/strong>'&gt;\n                &lt;div class='<strong>span12<\/strong>'&gt;Header&lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;!-- mid container - includes main content area and right sidebar --&gt;\n        &lt;div class='<strong>row<\/strong>'&gt;\n            &lt;!-- main content area --&gt;\n            &lt;div class='<strong>span9<\/strong>'&gt;\n                &lt;jdoc:include type=\"modules\" name=\"position-3\" style=\"xhtml\" \/&gt;\n                &lt;jdoc:include type=\"message\" \/&gt;\n                &lt;jdoc:include type=\"component\" \/&gt;\n                &lt;jdoc:include type=\"modules\" name=\"position-2\" style=\"none\" \/&gt;\n            &lt;\/div&gt;\n            &lt;!-- right sidebar --&gt;\n            &lt;div class='<strong>span3<\/strong>'&gt;\n                &lt;jdoc:include type=\"modules\" name=\"position-7\" style=\"well\" \/&gt;\n            &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;!-- footer --&gt;\n        &lt;div class='<strong>row<\/strong>'&gt;\n                &lt;div class='<strong>span12<\/strong>'&gt;Footer&lt;\/div&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>As we continue creating our Joomla 3.0 template from scratch, we will now make the template responsive. Much of this tutorial is going to be simply showing you the changes that we\u2019re making to the template, but we\u2019ll add a few descriptions of what we\u2019re doing and why when necessary. We recommend that you read<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\"> 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-1848","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 make a Joomla 3.1 Template Responsive | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, we&#039;ll cover the changes we made to our Joomla 3.0 template&#039;s index.php file to make it fully responsive.\" \/>\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\/make-responsive\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to make a Joomla 3.1 Template Responsive | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we&#039;ll cover the changes we made to our Joomla 3.0 template&#039;s index.php file to make it fully responsive.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\" \/>\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-08T03:19:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-15T23:22:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.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=\"4 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\/make-responsive\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"How to make a Joomla 3.1 Template Responsive\",\"datePublished\":\"2012-10-08T03:19:03+00:00\",\"dateModified\":\"2021-02-15T23:22:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\"},\"wordCount\":490,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\",\"keywords\":[\"Joomla v3\"],\"articleSection\":[\"Joomla\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\",\"name\":\"How to make a Joomla 3.1 Template Responsive | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\",\"datePublished\":\"2012-10-08T03:19:03+00:00\",\"dateModified\":\"2021-02-15T23:22:47+00:00\",\"description\":\"In this tutorial, we'll cover the changes we made to our Joomla 3.0 template's index.php file to make it fully responsive.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg\",\"width\":800,\"height\":492,\"caption\":\"our-template-before-making-responsive\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to make a Joomla 3.1 Template Responsive\"}]},{\"@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 make a Joomla 3.1 Template Responsive | InMotion Hosting","description":"In this tutorial, we'll cover the changes we made to our Joomla 3.0 template's index.php file to make it fully responsive.","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\/make-responsive\/","og_locale":"en_US","og_type":"article","og_title":"How to make a Joomla 3.1 Template Responsive | InMotion Hosting","og_description":"In this tutorial, we'll cover the changes we made to our Joomla 3.0 template's index.php file to make it fully responsive.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-10-08T03:19:03+00:00","article_modified_time":"2021-02-15T23:22:47+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"How to make a Joomla 3.1 Template Responsive","datePublished":"2012-10-08T03:19:03+00:00","dateModified":"2021-02-15T23:22:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/"},"wordCount":490,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg","keywords":["Joomla v3"],"articleSection":["Joomla"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/","name":"How to make a Joomla 3.1 Template Responsive | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg","datePublished":"2012-10-08T03:19:03+00:00","dateModified":"2021-02-15T23:22:47+00:00","description":"In this tutorial, we'll cover the changes we made to our Joomla 3.0 template's index.php file to make it fully responsive.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/10\/edu_joomla-3_create-template_our-template-before-making-responsive.jpg","width":800,"height":492,"caption":"our-template-before-making-responsive"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/make-responsive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to make a Joomla 3.1 Template Responsive"}]},{"@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":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1848","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=1848"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1848\/revisions"}],"predecessor-version":[{"id":68586,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1848\/revisions\/68586"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}