12-29-2023, 11:18 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2, Kindle Oasis, Kindle Keyboard
|
Kobo Libra 2 left and right margins
Hi,
I've recently got a Kobo Libra 2 and some books have margins too large for my liking, about half a centimeter or more even with the margins slider set to zero in the device. With my old Kindle, I used Calibre to edit the books with: html { margin-left: -50px; margin-right: -50px; } My new Kobo, however, does nothing, although the preview in Calibre shows the change in margins. Once the book is transferred to the device, it keeps the original margins. Does anyone know a way to decrease left and right margins below the zero setting, either in the device or through Calibre? Thanks for your help. |
12-29-2023, 12:49 PM | #2 |
Bibliophagist
Posts: 36,751
Karma: 146617620
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If the margins are set to 0 in the CSS, your Kobo will display edge to edge. You may want to check the book(s) in an editor and see where/how the margins are set in the CSS.
You could also try changing your added CSS code to: Code:
html { margin-left: -50px !important; margin-right: -50px !important; } |
Advert | |
|
12-30-2023, 12:13 AM | #3 |
Captain Penguin
Posts: 2,947
Karma: 2077653593
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
When I have books with too wide margins I use calibre to do an ePub to ePub conversion with a profile that has narrow margins.
|
12-30-2023, 02:27 AM | #4 |
Grand Sorcerer
Posts: 10,430
Karma: 225537496
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
12-30-2023, 05:00 AM | #5 | |
Resident Curmudgeon
Posts: 74,623
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
By editing ePub to how I want, I've learned a lot about HTML/CSS for ePub. So if you did it, you too could learn HTML/CSS for ePub. Also, you can remove a lot of rubbish. SOmetimes the CSS can have lots of excess classes. Sometimes the cover is either generic or too small so that can be fixed. Sometimes you get previews/adverts for other books. They can be removed. Embedded fonts you don't want can be removed. Any of the HTML you don't want such as review blurbs can be removed. Metadata can be fixed if needed. And more. Last edited by JSWolf; 12-30-2023 at 05:05 AM. |
|
Advert | |
|
12-30-2023, 07:36 AM | #6 | |
Grand Sorcerer
Posts: 10,430
Karma: 225537496
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
It's totally worth it to me, because I hate being so annoyed with bad formatting I have to quit reading and fiddle with the settings (which often doesn't help). Of course many people aren't fussy and can swallow any nonsense the formatting program has coughed up, so messing with the book code isn't worth it to them. Unfortunately I'm pretty fussy and can't just ignore things like huge margins/line height/text indents, spaces between paragraphs and so on. |
|
12-30-2023, 09:41 AM | #7 | |
Grand Sorcerer
Posts: 7,241
Karma: 65290611
Join Date: Feb 2009
Device: Kobo Glo HD
|
Quote:
|
|
12-30-2023, 11:49 AM | #8 |
Grand Sorcerer
Posts: 10,430
Karma: 225537496
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
12-30-2023, 12:09 PM | #9 |
Resident Curmudgeon
Posts: 74,623
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
12-30-2023, 12:28 PM | #10 | ||
Wizard
Posts: 2,267
Karma: 7406665
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
Quote:
|
||
12-30-2023, 03:42 PM | #11 |
Captain Penguin
Posts: 2,947
Karma: 2077653593
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
|
12-30-2023, 03:48 PM | #12 |
Grand Sorcerer
Posts: 7,241
Karma: 65290611
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
12-30-2023, 03:53 PM | #13 | |
Grand Sorcerer
Posts: 10,430
Karma: 225537496
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
Edit: For example, I recently edited a book where spaces between paragraphs were not coded with margins or padding, there just were empty paragraphs inserted between others. Conversion won't remove those and you'd be stuck with spaces between paragraphs without editing the book. I've seen this one quite often and that was one reason I started to edit the css/html instead of converting. Last edited by Sirtel; 12-30-2023 at 04:03 PM. |
|
12-30-2023, 04:15 PM | #14 | |
Grand Sorcerer
Posts: 7,241
Karma: 65290611
Join Date: Feb 2009
Device: Kobo Glo HD
|
Quote:
|
|
12-30-2023, 04:34 PM | #15 | |
Grand Sorcerer
Posts: 10,430
Karma: 225537496
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
After saving the edits, I check the book in the viewer and if all looks well, I'll run the page count plugin. The existence of page count in the relevant custom column means the book has been edited and checked. And only when I've done this with all my new purchases I connect my Kobo and load the books (not necessarily all of them, those I want to read in the near future). Sometimes I may discover additional things I want to change while reading the book, but not that often. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Preview - Left & Right margins | grizedale | Editor | 9 | 01-03-2024 08:14 AM |
Kobo Libra 2 case for Left-Handed Use | Marcy | Kobo Reader | 5 | 12-20-2022 03:40 PM |
Kindle Scribe - change right & left margins? | poczynek | Conversion | 0 | 12-02-2022 06:21 PM |
Is it possible to completely remove the right and left margins? | tiramisù | Amazon Kindle | 103 | 05-04-2015 12:22 AM |
EPub>Mobi>Kindle 3 large left margins | Zenthor | Calibre | 14 | 11-02-2010 08:37 AM |