Thread: <h2 title="xx">
View Single Post
Old 04-17-2022, 05:47 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,965
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Karellen View Post
Hello,

When a chapter heading has a chapter name as well as a chapter number, I normally use something like this. (You can guess what the classes do without the css code)

PHP Code:
  <h3>1<span class="hide"– The Country of Lost Borders</span></h3>
  <
p>*</p>
  <
class="chapterh3">The Country of Lost Borders</p
I have seen mention on the forum about using the following...
PHP Code:
<h3 title="1 - The Country of Lost Borders">1</h3
But it never seems to work for me. Image shows how I use it.

Could someone tell me where I am going wrong?

Thanks.
Make the chapter number <h1 and the chapter title <h2 but you have to use classes or define <h1 and <h2 in CSS.
JSWolf is offline   Reply With Quote