Loading...
 
Skip to main content

History: Liquid-width section in page

Source of version: 3

Copy to clipboard
            {HTML(wiki="0")}<style>
#middle.container {width: 100%;}
.tiki .middle_outer {background: #28292b;} <- This is to add the dark background behind the wiki page icons (change language, etc.)
.wide-container {background: #28292b; color: #fff;}
.regular_1 {background: #f2f2f2; color: #333;}
.regular_2 {background: #fff; color: #333;} 
#col1.col-md-9.col-md-push-3 {width: 100%; left: 0; }
#col2 { display: none; }
</style>{HTML}

{DIV(class="row wide-container")}
{DIV(class="container")}
{DIV(class="slider")}
A slider (image rotator/carousel) or other content with a full-page-width background, etc. goes here.
{DIV}
{DIV}
{DIV}
{DIV(class="row regular_1")}
{DIV(class="container")}
On this page only, the Bootstrap container div that's the middle area of the page is 100% wide [[it overrides the default container width (1170px in large screens, etc.)], and it holds the three divs that are also 100% wide and have colored backgrounds; each of these holds a Bootstrap container div whose width is the default width. This arrangement provides full-page-width color backgrounds, and is all responsive, etc.

The left column (in a two-column layout) is hidden to show this demonstration clearly.

{DIV}
{DIV}
{DIV(class="row regular_2")}
{DIV(class="container")}
Content for stories goes here.
{DIV}
{DIV}
        

History

Advanced
Information Version
Tue 12 of Nov, 2019 06:09 GMT-0000 Gary Cunningham-Lee div.side-col-toggle-container also hidden by in-document CSS. 16
Tue 12 of Nov, 2019 06:07 GMT-0000 Gary Cunningham-Lee Added in-document CSS to hide left column. 15
Tue 12 of Nov, 2019 05:55 GMT-0000 Gary Cunningham-Lee Resaving page to see if CSS will take effect. 14
Mon 11 of Nov, 2019 12:56 GMT-0000 Gary Cunningham-Lee 13
Mon 11 of Nov, 2019 12:54 GMT-0000 Gary Cunningham-Lee Text updated. 12
Mon 11 of Nov, 2019 12:41 GMT-0000 Gary Cunningham-Lee Updated the text. 11
Mon 11 of Nov, 2019 12:23 GMT-0000 Gary Cunningham-Lee Page content updated to use Plugin Layout. 10
Fri 07 of Jun, 2019 05:24 GMT-0000 Gary Cunningham-Lee Replaced broken content with link and note. 9
Sun 27 of Mar, 2016 12:56 GMT-0000 luciash d' being ?‍♂️ oops, wrong order ;) 8
Sun 27 of Mar, 2016 12:53 GMT-0000 luciash d' being ?‍♂️ little improvement 7
Sun 27 of Mar, 2016 08:30 GMT-0000 Gary Cunningham-Lee Unneeded CSS rule removed. 6
Sun 27 of Mar, 2016 08:18 GMT-0000 Gary Cunningham-Lee Improved content. 5
Sun 27 of Mar, 2016 08:06 GMT-0000 Gary Cunningham-Lee View CSS used for page. 4
Sun 27 of Mar, 2016 07:58 GMT-0000 Gary Cunningham-Lee Fixed typo, 3
Sun 27 of Mar, 2016 07:54 GMT-0000 Gary Cunningham-Lee Corrected CSS for #col1 width and position. 2
Sun 27 of Mar, 2016 07:47 GMT-0000 Gary Cunningham-Lee Page created. 1