Super User
SHORTCODE GENERATOR
POWERFUL ADMIN PANEL
Responsive Design
A responsive template that fits all devices
The big word for Joomla 3.0 is Bootstrap. With basic CSS already integrated into Joomla 3.0, it is aiming for a much better UX for the end-user. Moreover, BootStrap includes responsive CSS, which allows a website to fit all devices, screen size.
Layout | Layout Width | GridColumn | Gutter Width |
---|---|---|---|
Large Desktop | min: 1200px | 12 | 40px |
Default | min-980px, max-1199px | 12 | 40px |
Normal Desktop & Tablet | min-768px, max-979px | 12 | 40px |
Mobile | max-767px | 12 | 20px |
The file bootstrap-responsive.less
in folder: templates/ja_t3v3_blank/assets/less
is to define media queries:
// RESPONSIVE CLASSES
// ------------------
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/responsive-utilities.less";
// MEDIA QUERIES
// ------------------
// Large desktops
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/responsive-1200px-min.less";
// Tablets to regular desktops
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/responsive-768px-979px.less";
// Phones to portrait tablets and narrow desktops
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/responsive-767px-max.less";
// RESPONSIVE NAVBAR
// ------------------
// From 979px and below, show a button to toggle navbar contents
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/component-animations.less";
@import "../../../plugins/system/jat3v3/t3v3base/bootstrap/less/responsive-navbar.less";
By default, the responsive files are located in: plugins/system/jat3v3/t3v3base/bootstrap/less
The list responsive files include:
responsive.less
responsive-767px-max.less
responsive-768px-979px.less
responsive-1200px-min.less
responsive-navbar.less
responsive-utilities.less
component-animations.less
responsive-navbar.less
Responsive utility classes
Class | Mobile max-767px | Tablets 768px to 979px | Desktop min-980px |
---|---|---|---|
.visible-phone |
Visible | Hidden | Hidden |
.visible-tablet |
Hidden | Visible | Hidden |
.visible-desktop |
Hidden | Hidden | Visible |
.hidden-phone |
Hidden | Visible | Visible |
.hidden-tablet |
Visible | Hidden | Visible |
.hidden-desktop |
Visible | Visible | Hidden |
Tablet and Regular Desktop Layout
The file responsive-768px-979px.less
is the style file for Tablet and regular desktop layout. When the screen size is smaller than 979px and bigger than 768px, the template runs on the responsive-768px-979px.less
file.
@media (min-width: 768px) and (max-width: 979px) {
// Fixed grid
#grid > .core(@gridColumnWidth768, @gridGutterWidth768);
// Fluid grid
#grid > .fluid(@fluidGridColumnWidth768, @fluidGridGutterWidth768);
// Input grid
#grid > .input(@gridColumnWidth768, @gridGutterWidth768);
// No need to reset .thumbnails here since it's the same @gridGutterWidth
}
Large Desktop Layout
The file responsive-1200px.less
is the style file for large desktop layout (width size > 1200px} and regular desktop layout. When the screen size is smaller than 979px and bigger than 768px, the template runs on the responsive-1200px-min.less
file.
@media (min-width: 1200px) {
// Fixed grid
#grid > .core(@gridColumnWidth1200, @gridGutterWidth1200);
// Fluid grid
#grid > .fluid(@fluidGridColumnWidth1200, @fluidGridGutterWidth1200);
// Input grid
#grid > .input(@gridColumnWidth1200, @gridGutterWidth1200);
// Thumbnails
.thumbnails {
margin-left: -@gridGutterWidth1200;
}
.thumbnails > li {
margin-left: @gridGutterWidth1200;
}
.row-fluid .thumbnails {
margin-left: 0;
}
}
-
Mobile Layout
The file
responsive-767px-max.less
is the style file for Mobile layout. the elements are defined to fit the mobile device. When the screen size is smaller than 767px, the template runs on theresponsive-767px-max.less file
.- Logo is now on top
- Menu is collapsed
- One Column Content display
- Modules blocks is in one column display as well
- Responsive media (image, video, ...) are defined to fit the mobile layout.
Responsive CSS file
The file bootstrap-responsive.less
in folder: templates/ja_t3v3_blank/assets/less
will be compiled to a CSS file named: bootstrap-responsive.css
and the file is located in folder: plugins/system/jat3v3/t3v3base/bootstrap/css.
Will 2013 be the year of the smartwatch?
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla gravida, ligula sed sagittis pretium, tortor est mollis enim, et aliquam arcu lectus eget turpis. Phasellus fringilla tristique porttitor. Mauris libero nisi, suscipit nec ornare vitae, luctus id felis. Aenean sem tortor, tempor a auctor ac, tempor et lectus. Nunc at eros et erat posuere facilisis vel at odio. Mauris enim urna, blandit non condimentum in, consectetur at erat. Praesent aliquam dolor eget dui venenatis tincidunt. Proin scelerisque accumsan tortor, vitae euismod urna cursus in. In ut tortor gravida enim dignissim blandit. Aenean in urna ac lacus faucibus aliquet eu eu ante. Fusce ac mauris magna, vel aliquet quam. Nullam dapibus nunc eu metus posuere tincidunt. Nunc pellentesque ultrices consectetur. Nullam nisi ante, rhoncus nec viverra non, sodales at nisi. Mauris in erat sit amet sapien condimentum posuere. Fusce diam ligula, sodales gravida placerat ut, elementum vel lectus.
Praesent vitae urna sem. Donec quis quam sed nisl gravida elementum et a tortor. Nam non augue risus, eu bibendum mi. Aliquam ultricies, elit vel euismod faucibus, arcu est volutpat odio, nec molestie velit diam vitae ligula. Donec lobortis, tellus ac varius gravida, dolor nisi porttitor nibh, nec convallis leo nisl sed nunc. Quisque sodales, tellus nec scelerisque elementum, urna justo mollis metus, tincidunt venenatis turpis neque ac lacus. Cras erat est, eleifend at interdum a, adipiscing at nisi. Nunc quis odio enim. Nullam est ligula, rhoncus nec ullamcorper vel, condimentum at justo. Nam vehicula adipiscing pharetra. Donec ante urna, pellentesque vel rhoncus sit amet, volutpat vitae eros. Nullam venenatis augue vitae mi facilisis placerat quis non nibh. Nullam facilisis elit sagittis justo porttitor elementum. Ut ipsum elit, viverra id adipiscing at, vestibulum sed risus.
Suspendisse eu enim neque, ut gravida dui. Morbi feugiat, neque ac posuere venenatis, odio ligula luctus felis, at vehicula felis dui sed nunc. Praesent in turpis at mi gravida fermentum.
Copy of Copy of Copy of Crave at CES: On the lookout for weird (pictures)
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit
Copy of Copy of Copy of Copy of Crave at CES: On the lookout for weird (pictures)
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit
Copy of Copy of Copy of Crave at CES: On the lookout for weird (pictures)
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit
Copy of Copy of Crave at CES: On the lookout for weird (pictures)
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit
Copy of Crave at CES: On the lookout for weird (pictures)
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit