italizing [[span style="font-style:italic"]]title[[/span]] part

Posted by Helmut_pdorfHelmut_pdorf on 07 Sep 2018 13:49, last edited by Ed JohnsonEd Johnson on 07 Sep 2018 22:18

[[span style="color:red"]]italizing //title// part[[/span]]

italizing title part
custom [[span style="font-style:italic"]]span[[/span]] element

gives :
custom span element

Could also help the universal escaping ?

Need to create an alternate page title to make this work

The only way to do this within the limits of Wikidot syntax is to hide the default #page-title element with CSS and recreate it as a class (like .page-title). With that done, you add the page title to your page source. For example:

[[module css]]
#page-title {
    display: none;
.page-title {
    margin: 0 0 0.5em 0;
    padding-top: 0.5em;
    font-size: 180%;
    border-bottom: 1px solid #666;

[[div class="page-title"]]
Catullus, //Carmina//, 11
> Catullus asks Furius and Aurelius to tell "my girl"—undoubtedly Lesbia—that he will have nothing more to do with her; she is promiscuous and careless of his love. The poem is usually understood as a final repudiation of Lesbia. A persistent problem in its analysis has been the relation of the first three stanzas to the final two: what does the elaborate catalog of places have to do with the message for Lesbia?

Meter: Sapphic strophe (see Appendix B).


+ Latin text

Live example is here:

Number of Comments: 0)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License