Leggi Oltre +
LA MISERICORDIA
Profilo istituzionale della Misericordia di Castiglion Fiorentino, Consiglio Direttivo e struttura, Gruppo Femminile.
Leggi Oltre +
COME AIUTARCI CON IL 5X1000
Destina il 5 per mille della tua imposta sul reddito alla nostra Misericordia. Il nostro Codice Fiscale è 80000290512
Grid positions/Structure
- Pubblicato: Venerdì, 22 Marzo 2013 13:47
- Visite: 504
You can see more details on http://twitter.github.com/bootstrap/scaffolding.html#gridSystem
Live grid example
The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.
Basic grid HTML
For a simple two column layout, create a .row
and add the appropriate number of .span*
columns. As this is a 12-column grid, each .span*
spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).
<div class="row"> <div class="span4">...</div> <div class="span8">...</div> </div>
Given this example, we have .span4
and .span8
, making for 12 total columns and a complete row.
SHORCODE DEMOS
The shortcode is quite simple Attach the cols number near grid. Keep in mind you must use the row shortcode.
[grid 1/2/3/4/5/6/7/8/9/10/11/12]...[/grid]
[row]
[grid 2]
...
[/grid]
[grid 10]
...
[/grid]
[row]
You can also use the grid shortcodes like this:
[grid3 first/last]...[/grid3]
[grid2 first]
...
[/grid2]
[grid10 last]
...
[/grid10]
Other examples:
[onethird first/last]...[/onethird]
[twothirds first/last]...[/twothirds]
[half first/last]...[/half]
Offsetting columns
Move columns to the right using .offset*
classes. Each class increases the left margin of a column by a whole column. For example, .offset4
moves .span4
over four columns.
<div class="row"> <div class="span4">...</div> <div class="span3 offset2">...</div> </div>
Nesting columns
To nest your content with the default grid, add a new .row
and set of .span*
columns within an existing .span*
column. Nested rows should include a set of columns that add up to the number of columns of its parent.
<div class="row"> <div class="span9"> Level 1 column <div class="row"> <div class="span6">Level 2</div> <div class="span3">Level 2</div> </div> </div> </div>
Fluid grid system
Live fluid grid example
The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.
Basic fluid grid HTML
Make any row "fluid" by changing .row
to .row-fluid
. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.
<div class="row-fluid"> <div class="span4">...</div> <div class="span8">...</div> </div>
Fluid offsetting
Operates the same way as the fixed grid system offsetting: add .offset*
to any column to offset by that many columns.
<div class="row-fluid"> <div class="span4">...</div> <div class="span4 offset2">...</div> </div>
Fluid nesting
Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.
<div class="row-fluid"> <div class="span12"> Fluid 12 <div class="row-fluid"> <div class="span6">Fluid 6</div> <div class="span6">Fluid 6</div> </div> </div> </div>
- Categoria: Site Content
Photo Gallery
- Pubblicato: Venerdì, 22 Marzo 2013 13:47
- Visite: 537
In this photo gallery i used Simple Image Gallery (Plugin) by JoomlaWorks.gr
First gallery
{gallery}kallyas_images/gallery/first{/gallery}
Second gallery
{gallery}kallyas_images/gallery/second{/gallery}
- Categoria: Site Content
Accordions Designs
- Pubblicato: Giovedì, 21 Marzo 2013 08:39
- Visite: 568
Get base styles and flexible support for collapsible components like accordions and navigation.
The example above has the class="acc-group default-style"
, where default-style has the styling.
SHORTCODE PARAMS
[acc title="" style="" start_opened="" tweaked=""] ... [/acc]
style = default-style / style2 / style3
tweaks = yes / no
start_opened = yes / no
SHORTCODE DEMO
[acc title=" the title here " style="default-style" ]
... content here
[/acc]
Other Styles - style2
Other Styles - style3
- Categoria: Site Content
Tabs Designs
- Pubblicato: Giovedì, 21 Marzo 2013 08:39
- Visite: 564
Add quick, dynamic tab functionality to transiton through panes of local content.
The example above has the class="tabbable tabs_style1"
, where tabbable triggers the tables and tabs_style1 has the styling.
Pane 1 Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse euismod congue bibendum. Aliquam erat volutpat. Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a.
Pane 2 Content
Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a. Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis.
Pane 3 Content
Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis. Phasellus vel tellus id felis cursus hendrerit. Suspendisse et arcu felis, ac gravida turpis. Suspendisse potenti. Ut porta rhoncus ligula, sed fringilla felis feugiat eget. In non purus quis elit iaculis tincidunt. Donec at ultrices est.
SHORTCODE PARAMS
[tabs class="" style="" first_tab="" icons_theme=""][/tabs]
style = vertical_tabs / tabs_style1 / tabs_style2 / tabs_style3 / tabs_style4
icons_theme = white / black
SHORTCODE DEMO
[tabs]
[tab title="Some Tab #1"]
... content for tab #1
[/tab]
[tab title="Some Tab #2"]
... content for tab #2
[/tab]
[tab title="Some Tab #3"]
... content for tab #3
[/tab]
[/tabs]
Other styles - tabs_style2
Pane 1 Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse euismod congue bibendum. Aliquam erat volutpat. Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a.
Pane 2 Content
Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a. Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis.
Pane 3 Content
Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis. Phasellus vel tellus id felis cursus hendrerit. Suspendisse et arcu felis, ac gravida turpis. Suspendisse potenti. Ut porta rhoncus ligula, sed fringilla felis feugiat eget. In non purus quis elit iaculis tincidunt. Donec at ultrices est.
Other styles - tabs_style3
Pane 1 Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse euismod congue bibendum. Aliquam erat volutpat. Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a.
Pane 2 Content
Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a. Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis.
Pane 3 Content
Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis. Phasellus vel tellus id felis cursus hendrerit. Suspendisse et arcu felis, ac gravida turpis. Suspendisse potenti. Ut porta rhoncus ligula, sed fringilla felis feugiat eget. In non purus quis elit iaculis tincidunt. Donec at ultrices est.
Other styles - tabs_style4
Pane 1 Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse euismod congue bibendum. Aliquam erat volutpat. Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a.
Pane 2 Content
Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a. Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis.
Pane 3 Content
Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis. Phasellus vel tellus id felis cursus hendrerit. Suspendisse et arcu felis, ac gravida turpis. Suspendisse potenti. Ut porta rhoncus ligula, sed fringilla felis feugiat eget. In non purus quis elit iaculis tincidunt. Donec at ultrices est.
Other styles - vertical_tabs
Pane 1 Content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse euismod congue bibendum. Aliquam erat volutpat. Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a.
Pane 2 Content
Phasellus eget justo lacus. Vivamus pharetra ullamcorper massa, nec ultricies metus gravida egestas. Duis congue viverra arcu, ac aliquet turpis rutrum a. Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis.
Pane 3 Content
Donec semper vestibulum dapibus. Integer et sollicitudin metus. Vivamus at nisi turpis. Phasellus vel tellus id felis cursus hendrerit. Suspendisse et arcu felis, ac gravida turpis. Suspendisse potenti. Ut porta rhoncus ligula, sed fringilla felis feugiat eget. In non purus quis elit iaculis tincidunt. Donec at ultrices est.
- Categoria: Site Content