Custom Page Title

By CallumMcLCallumMcL

Description

In a wiki that I'm a part of, we have very little control over our page titles. If you have a similar issue, the following code should point you in the right direction to create custom titles that can utilize WikiDot text decoration such as colour, weight, and italics.

NOTE: Many wikidots may have different a layout for the page title. The following layout code is only a guide, you may need to fiddle around with it before it resembles your own wikidot's page title layout.

Code

[[module CSS]]
#page-title {
    visibility: hidden;
}
[[/module]]

[!-- THESE LAYOUT TAGS ARE JUST A GUIDE --]
[[div style="width:85%;height:59px;position:absolute;font-size:200%;left:256px;top:63px;border-bottom:#666666 1px solid"]]
Your Text Here
[[/div]]

In action

CallumMcL's Custom Title


Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by CallumMcL

Pretty Tables - 29 May 2013 06:14


Rate this solution

If you think this solution is useful — rate it up!

rating: +2+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License