![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Change Default Cover Page (titlepage.xhtml)?
I'm trying to change the default cover page (titlepage.xhtml in the editor) that Calibre creates during conversion (or during a Polish). All I'd like to do is include the following at the top of the <body>:
Code:
<h1 title="Cover"></h1> I'd assumed that I could just copy the appropriate file from: C:\Program Files\Calibre2\app\resources over to: C:\Users\[username]\AppData\Roaming\calibre\resources and modify it (as noted in the manual): https://manual.calibre-ebook.com/cus...ates-et-cetera But, I can't find a file/folder that looks like it would control how that cover page looks. Any ideas? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,295
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
These are defined in code not via templates IIRC. In any case you should not be linking to the cover page in your toc. While that works in epub it wont in the kindle formats as they dont actually have a linkable cover.
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,294
Karma: 6700864
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
I wouldn't add the header tag to the cover.
I tried it a couple times, and it forces an extra blank page. Even though the <h1> tag is empty, the tag is there, so any margins and paddings are still forced onto the page which bumps the cover image to the next page. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ToC not linking to titlepage.xhtml for Cover image? | Sting8 | Conversion | 1 | 01-17-2020 11:09 PM |
Replace titlepage.xhtml | gogu1904 | Calibre | 9 | 05-19-2019 02:38 PM |
calibre's inserted cover file, titlepage.xhtml | rhino79 | Calibre | 7 | 05-01-2015 02:27 PM |
Change Default Format Opened When clicking a cover in cover browser? | phaeren12 | Library Management | 11 | 09-19-2014 10:10 PM |
Custom code in ePub titlepage.xhtml | Mrs_Often | Conversion | 6 | 07-24-2012 12:36 PM |