Loading...
Find
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 week)
Log in
Stay in SSL mode
History: Make a Wide Section in a Wiki Page
View page
Source of version: 8
(current)
{DIV(class="row top_row")} {DIV(class="container")} ! Make a wide section in a wiki page This is a way of having one or more wide sections in a page, such as to have a full-width background color, slider (image rotator), or other wide content. In this demo, the site has a fixed width set, such as 1170px. There are custom CSS rules input on the Look & Feel admin page to override the fixed width, to make the page liquid (100% wide). The page has rows - divs with the class "row" - and each of these has a div class="container". These container divs have whatever width is set by the theme style sheet or the Look and Feel admin page, so the content is kept in the center of the page, the same as on other pages of the site. {DIV} {DIV} {DIV(class="row bottom_row")} ~tc~ class just added for coloring. ~/tc~ {DIV(class="col-sm-12")} For the section's content itself to be full-width, don't use a container-class div in the row. {DIV} {DIV} {DIV(class="row middle_row")} {DIV(class="container")} The page layout code is something like this: {CODE()} {DIV(class="row top_row")} {DIV(class="container")} ! Pagetitle Top section content goes here. (The page title was turned off and replaced by the heading here in the content div.) {DIV} {DIV} {DIV()} For the section's content itself to be full-width, don't use a container-class div in the row. {DIV} {DIV(class="row middle_row")} {DIV(class="container")} Middle section content goes here. {DIV} {DIV} {DIV(class="row bottom_row")} {DIV(class="container")} Bottom section content goes here. {DIV} {DIV} {CODE} {DIV} {DIV} {DIV(class="row bottom_row")} {DIV(class="container")} These rules are added in Look & Feel custom CSS: {CODE()} #page_356 #col2 { display:none; } #page_356 #middle.container { width: 100%; } #page_356 #col1 { width: 100%; left: 0; } #page_356 .tiki .middle_outer { background: #28292b; } #page_356 .top_row { background: #28292b; color: #fff; } #page_356 .middle_row { background: #f2f2f2; color: #333; } #page_356 .bottom_row { background: #fff; color: #333; } {CODE} {DIV} {DIV}
Switch Theme
Site theme (fivealive-lite/grape)
Default
Amelia
Business
Cerulean
Cosmo
Cyborg
Darkly
Darkroom
Darkshine
Feb12
Fivealive-lite
Fivealive
Flatly
Greenvalley
Journal
Jqui
Lighty
Litera
Lumen
Lux
Materia
Minty
Morph
Ohia
Pulse
Quartz
Sandstone
Simplex
Sketchy
Slate
Solar
Spacelab
Strasa
Superhero
Thenews
Tikicorp
Tikinewt
Tikipedia
United
Utopias
Vapor
Yeti
None
Akebi
Grape
Kiwi
Lemon
Orange
Plum
Raspberry
Watermelon
Switch
Layout
Stay on this page
Default
Fixed top navbar (uses site icon + "topbar" module zone)
Basic Bootstrap
Classic Tiki (3 containers - header, middle, footer)
Tikipedia
Latest Changes
No records to display
...more
Subscribe to Tiki Newsletters!
Delivered fresh to your email inbox!
Don't miss major announcements and other big news!
Site Config
Site upgraded to Tiki 23.x
Sat 24 of Jul, 2021 00:30 GMT
Site upgraded to Tiki 20
Wed 29 of May, 2019 07:57 GMT
We are now on Tiki 19.x
Fri 05 of Oct, 2018 10:02 GMT
Shoutbox module removed
Thu 28 of Jun, 2018 07:01 GMT
We are now on Tiki 18.x
Wed 02 of May, 2018 08:46 GMT
Upgraded to Tiki 17.0
Wed 02 of Aug, 2017 08:19 GMT
Upgraded to Tiki 15.0alpha
Tue 08 of Mar, 2016 13:34 GMT
Site updated to Tiki 14 beta
Tue 21 of Apr, 2015 00:01 GMT
Testing Tiki10
Thu 15 of Nov, 2012 23:06 GMT
Configurable header buttons in XtratoVeil layout
Wed 17 of Oct, 2012 14:54 GMT