Quote:
Originally Posted by Glasofruix
As i understood it there is a css file inside an epub file that dictates some things such as the margins, disabling the margins during conversion solved the problem for me, now i can control the text on my kobo as i see fit.
|
The problem with just disabling the margins in the calibre conversion is that if the epub is viewed on other devices without margin controls then the margins will be zero and too close to the edges. To solve this problem just do the calibre conversion as suggested and disable the margins then open the epub in Sigil and go to the file page_styles.css and change this:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
to this:
@page {
margin-bottom: 5pt;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 5pt
}
Now the you can control the margins with your kobo BUT have a minimum margin of 5 pt and not 0 pt. Also will work fine now on other readers.