Wiki source code of Header Macro Sample
Version 1.1 by Normann P. Nielsen on 2026/11/15 15:43
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | This show a sample of my Start page (Landing page) that is significly different from the rest, main part of changing it is in the "Frontpage styles" macro - see below: |
| 2 | |||
| 3 | [[image:StartpageSample.jpg||width="500"||alt="StartpageSample.jpg"]] | ||
| 4 | |||
| 5 | And Rendered: | ||
| 6 | |||
| 7 | [[image:StartpageRendered.jpg||width="500"||alt="StartpageRendered.jpg"]] | ||
| 8 | |||
| 9 | The is the macro that does most styling, as: | ||
| 10 | |||
| 11 | * Hiding Pagetitle, Metadata, labels etc | ||
| 12 | * Filling in the main header image | ||
| 13 | * Changing space icons and hiding space "Add page" | ||
| 14 | * Stlyling blog post layout for the "Blog Post" macro | ||
| 15 | ## @noparams | ||
| 16 | |||
| 17 | <style> | ||
| 18 | #headerimage { background-image: url(/download/attachments/4161541/ironman-header.jpg); border: 0px; width: 847px; height: 318px; } | ||
| 19 | .pagetitle { [[display:none>>http://displaynone]]; [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 20 | .page-metadata { [[display:none>>http://displaynone]]; [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 21 | .wiki-content, .wiki-content a, .wiki-content a:link, .wiki-content a:visited { text-decoration: none; font-weight: normal; } | ||
| 22 | #comments-section { display: none; [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 23 | #labels-section { display: none; [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 24 | u { text-decoration: none; } | ||
| 25 | .blogHeading a, .blogHeading a:link, .blogHeading a:visited { text-decoration: none; font-weight: bold; font-size: 20px} | ||
| 26 | .[[blog-post-listing:hover>>http://blog-post-listinghover]] { background-color: #EDEDED; } | ||
| 27 | .tabs-menu { display: none; [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 28 | div.heatmap { background-color: yellow; } | ||
| 29 | .icon-space {background-image: url(/download/attachments/4161541/ironman-space.jpg); } | ||
| 30 | .icon-browse-space { [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 31 | .icon-add-page { [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 32 | .icon-add-fav { [[visibility:hidden>>http://visibilityhidden]]; } | ||
| 33 | </style> |