History: Full-width backgrounds and fixed-width content
Source of version: 6
Copy to clipboard
A newly installed Tiki site has a left column and center or main column, and a right column can also be activated. The side columns are normally used for navigation or other information that displays on every page (though this can be configured, of course). To easily have a page, such as the site homepage or a splash page, that has __no__ side columns, and some content such as background images goes the full width of the browser window, here is an easy method, available since Tiki 15. 1. On Make a new category "Full_width_content". 2. On tiki-admin.php?page=category, activate "Provides the current categories to Smarty templates", and select "Full_width_content". This will add a CSS class to the body tag of pages in this category, and CSS rules in tiki_base.css will cause the side columns to not display, and will override the standard container div rules. 3. Then grid divs and other content can be input in the wiki page. Content directly in the page data will be full-width. Container-class divs can be added to provide content areas that are centered in the page and the default Bootstrap container width. (More info coming.)