Thread: <h2 title="xx">
View Single Post
Old 04-17-2022, 12:36 AM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Another Sigil user here. A possible trick that might be useful.

I also use the title= thing.

Code:
<h2 title="One - The storm">One <span>The storm</span></h2>
In my CSS I have

Code:
h2 span, h1 span {
    display: block;
}
This puts the chapter number on a separate line above the title, or more correctly, the chapter title is on a separate line below the chapter number. I also have additional styling to make the chapter number small caps and the title bold. The table of contents just gets the chapter title, no number.

I think it was turtle91 who shared this trick.

Last edited by hobnail; 04-17-2022 at 12:40 AM.
hobnail is offline   Reply With Quote