Page templates

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

<div class="" id="row1" style="background:red">
<div class="hybrid">
<div class="div-content">
Row content here

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

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