Loading...
Find
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 week)
Log in
Stay in SSL mode
History: Styling wikitext headings
View page
Source of version: 1
(current)
Following good semantic principles, when the wiki configuration option "Display page name as page title" is activated, the page title is given an h1 heading size. This means h1 is reserved for the page title, and assigning ~nc~!~/nc~ Heading One actually makes an HTML h2 heading, and so on down through the heading sizes. (This is when the normal wiki editor, not the WYSIWYG editor is being used.) On the other hand, if "Display page name as page title" is not activated, then there's no reserved h1 heading, and assigning ~nc~!~/nc~ actually creates an HTML h1 heading. The page author is expected to keep the layout semantic, in this case. There's a problem about specifying the CSS styles for headings, though, because there isn't consistency about what ''.wikitext h1" and ".wikitext h2," etc. apply to. It varies by one size depending on whether "Display page name as page title" is activated. To be sure that the headings have the same appearance with both page title settings, as of Tiki 6 these selectors can be used: {CODE()} .wikitext h1 {} .wikitext h2 {} .wikitext h3 {} .wikitext h4 {} .wikitext h5 {} .wikitext h6 {} .wikitext.nopagetitle h1 {} /* should have properties to display the same as .wikitext h2 */ .wikitext.nopagetitle h2 {} /* " h3 */ .wikitext.nopagetitle h3 {} /* " h4 */ .wikitext.nopagetitle h4 {} /* " h5 */ .wikitext.nopagetitle h5 {} /* " h6 */{CODE} See the strasa.css file in Tiki 6 for an example.
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