12-11-2023, 04:49 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2023
Device: Kobo Sage
|
Custom CSS for broken screen
Yesterday I broke my Kobo Sage screen, so now the bottom left corner is not rendering anymore (affected area: 5.5 cm height, 4.5 cm width). But this did not affect the touch capability.
Since I couldn't find any replacement screen anywhere, I was wondering if I could simply modify the CSS of the epub I am reading via Calibre to put a big margin in that area, so the text would avoid rendering in the defective corner, that way I could still somehow use my broken ereader. Thank you for your suggestions. |
12-11-2023, 10:43 AM | #2 |
the rook, bossing Never.
Posts: 12,279
Karma: 89822819
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Not easily.
Also more of the screen will fail. Yes, it's sad. |
12-11-2023, 08:09 PM | #3 |
Resident Curmudgeon
Posts: 76,101
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Use this CSS code...
[code].buy { buy a new Kobo; }[code] |
12-15-2023, 11:04 PM | #4 | |
Connoisseur
Posts: 95
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Hey, I'm sorry to hear that.
I can't think of a quick solution with CSS, but you can experiment with Kobopatch to make the rendered area smaller. There's this Kobopatch patch that is typically intended to reduce the header and footer sizes. Still, in your case, I think you can use it to increase the footer size (make it large enough to cover the broken area) and shrink the area used for text. Quote:
You need to do a bit of research on Kobopatch, if you're not familiar. Here are a few starting points: * https://pgaskin.net/kobopatch-patche...tch-13651.html * https://github.com/pgaskin/kobopatch...leases/tag/v84 |
|
12-17-2023, 02:55 PM | #5 |
Enthusiast
Posts: 31
Karma: 2139376
Join Date: Feb 2011
Device: PRS-300 PRS-350 Kobo H2O Kobo Clara HD
|
|
Tags |
calibre, css, screen broken |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PageEdit custom css | germi | Sigil | 4 | 12-02-2019 08:57 PM |
Kindle for iPad - CSS for tables broken? | Oxford-eBooks | Kindle Formats | 35 | 04-06-2018 08:53 AM |
Custom CSS | Japes | Conversion | 5 | 07-09-2011 08:15 PM |
Custom CSS for output | deckoff | Calibre | 1 | 08-28-2010 11:55 PM |
broken screen. is there a program that skims off top one inch of screen? | pennpin | Sony Reader | 5 | 08-19-2009 04:42 PM |