05-04-2024, 06:06 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2, Inkpalm 5 pro
|
L/R Margins
I was under the impression KOReader allowed for left and right margins to touch the side of the screen. Essentially having no margin is my goal. I am using an InkPalm 5 Pro with the L/R Margins both set to 0 and still have margins on the left and right at what I would call 5.
After searching I was unable to find a solution and curious if there is a settings "trick" i am missing. |
05-04-2024, 06:09 PM | #2 | |
Resident Curmudgeon
Posts: 75,133
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
05-04-2024, 08:36 PM | #3 |
Member
Posts: 11
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2, Inkpalm 5 pro
|
Thank you that’s exactly what it was and I hadn’t thought the book file could have different settings.
New device so still testing out , opened a second file and it was edge to edge (way more than I expected). |
05-04-2024, 11:51 PM | #4 |
Wizard
Posts: 1,177
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Go to bottom menu, last tab - disable publisher styles, to test this.
This breaks many other styles as well. If you need them back, enable again, then create a Style Tweak to override the margins. For example, with: p { margin: 0 !important; } Or any other margins (read CSS documentation). Styles Tweaks are in the manual: http://koreader.rocks/user_guide/ |
05-05-2024, 05:37 AM | #5 | |
Resident Curmudgeon
Posts: 75,133
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
05-06-2024, 02:59 PM | #6 |
cosiñeiro
Posts: 1,307
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
There's an styletweak *almost* for that in "style tweaks -> pages and margins -> horizontal margins -> ignore horizontal paragraph margins"
which is just Code:
p, li { margin-left: 0 !important; margin-right: 0 !important; } As mergen3107 said you could also write your own styletweak. |
05-07-2024, 04:31 AM | #7 | |
Resident Curmudgeon
Posts: 75,133
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-08-2024, 11:19 AM | #8 | |
cosiñeiro
Posts: 1,307
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
In any case changing the css code of the book on the fly is what styletweaks do. And whatever changes you suggest to do within the epub can be implemented as css snippets into styletweaks. If some potential offset happens on some potential books on real life or in your imagination you just need to adjust the selectors to make sure the relevant styles are applied where they make sense. Please stop making noise in here, thanks |
|
05-08-2024, 11:58 AM | #9 | |
Resident Curmudgeon
Posts: 75,133
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Margins: % or em ? | odamizu | Kindle Formats | 3 | 01-01-2016 05:54 PM |
No margins with PW 5.4.0? | Belenos | Kindle Developer's Corner | 6 | 03-05-2015 12:40 PM |
PW - Margins | Dr_Raspy | Amazon Kindle | 6 | 01-24-2013 03:45 AM |
Margins being ignored | Azzura | Kindle Formats | 4 | 06-11-2012 05:26 AM |