View Full Version : missing header

07-04-2013, 10:03 AM
I'm trying to decrease the space that appears above titles in order to fit more content onto each page. For reasons unknown, opening a Pages ePub in Sigil causes a larger gap to appear above title.

Looking at html, it appears to be using h4:

<h4 id="sigil_toc_id_1"><span id="chapter-1-sh1"></span>IN HER WORDS</h4>

<p class="s6 s7">I first thought about writing this book back in 1999...

So, I went to Sigil CSS to look for h4 but it doesn't appear to exist. Many other headings do, but not h4.

I suppose I could create/define an h4, but other than space before title, I'm pretty happy with the way it is - and don't want to go messing with something that isn't (too) broken.

Any ideas?

ps attachment shows screenshots from iPad with Pages ePub alongside post-Sigil ePub.

07-04-2013, 10:19 AM
Incidentally, the h4 style originates from Apple's sample document - provided on support pages for Creating ePub files with Pages (
Download the “ePub Best Practices” sample document at the following web address:

07-04-2013, 03:38 PM
you could resize everything about a h4 in the CSS

h4 {font-size: 12pt; margin-top: 6pt; margin-bottom: 6pt;}
choose your own values :thumbsup:

IMHO slightly better (an allows for h4 to be used normally elsewhere), is to create a style with your values and add class="mystylename" to each of those (h4) places you want to slim down