View Single Post
Old 12-02-2020, 04:31 AM   #1
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Kobo not reflecting Sigil

I seem to have another problem that might not actually be anything to do with Sigil but I was not sure where else to ask for help.

I have been editing some books and this morning I loaded them onto my Kobo Aura but when viewing them the formatting does not reflect what I see in Sigil and Freda.

The stylesheets contain the following code -
Code:
.h2	{
	font-size: 2em;
	margin-top: 1.5em;
	margin-bottom: 1em;
	text-align: center;
	}

.h3 	{
	font-size: 1.5em;
	margin-top: 1.0em;
	margin-bottom: 2em;
	text-align: center;
	}
I am using the h2 and h3 tags for the chapter number and title like this -

<p class="h2">Chapter 1</p>

<p class="h3">The Backwash of the Bomb</p>

and the text appears as it should - alignment and size correct - when viewing in Sigil preview, and also if I open the book using Freda on my PC.

However, if I view the book on my Kobo both the chapter number and title are left-aligned and the same size as the body text. It would appear Kobo is ignoring the formatting.

Any ideas where I'm going wrong?
Ashjuk is offline   Reply With Quote