italizing [[span style="font-style:italic"]]title[[/span]] part
Posted by Helmut_pdorf on 07 Sep 2018 13:49, last edited by Ed Johnson on 07 Sep 2018 22:18
Tags:
[[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 ?
https://www.wikidot.com/doc-wiki-syntax: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;
}
[[/module]]
[[div class="page-title"]]
Catullus, //Carmina//, 11
[[/div]]
> 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).
[[toc]]
+ Latin text
...
Live example is here: http://community-playground.wikidot.com/italizing-part-of-the-title-with-css
Number of Comments: 0)
page revision: 6, last edited: 07 Sep 2018 22:18