Page templates

From WikiName
Revision as of 12:15, 21 March 2015 by Satish (Talk | contribs) (Full width hybrid template)

Jump to: navigation, search

Swift comes with 10+ handy page templates, here we will describe how and when to use them.

Full width hybrid template

There will be times when you want to span the background of a row across the full width of the page. In such cases use the hybrid template and wrap your rows between

 <code> 
<div class="" id="row1" style="background:red">
<div class="hybrid">
<div class="div-content">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.


</div>
</div>
</div>

</code> 

Ideally you should give an ID or class for the outer most div and style it using the "Custom CSS for the page"