To make your life easier, when you create the ebook, rather than using ‘Cover.xhtml’ as the name for the html cover file, use ‘DELETE_ME.xhtml’, or something equally distinctive, instead. The reason for this will become apparent later.
So, to delete the html cover, first unpack the epub and open the file called content.opf using an html editor such as Komodo Edit. content.opf can be found inside the OEBPS folder in the ebook.
In essence, ALL you need to do is to delete every line in content.opf which contains the text ‘DELETE_ME’ and ALSO delete the actual html cover file: ‘DELETE_ME.xhtml’ from the ‘Text’ folder in the ebook.
Specifically, the content.opf file will contain this line in the
<manifest>
: