06-28-2017, 12:03 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
|
Change paragraph style?
I'm reading an epub book using koreader, and the paragraph style that's being used is indentation of first line in each paragraph. I prefer the style of having paragraphs not being indented, and instead having some space in between them.
So I figured I could probably change that using css. So I edited epub.css and added these lines, figuring that it should override whatever style is included in the book, or defined elsewhere in koreader: Code:
p { text-indent: 0em !important; margin-top: 0.2em !important; margin-bottom: 0.2em !important; } |
06-28-2017, 03:54 PM | #2 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Have you turned off the "embedded style" using the option in the reader bottom menu, under the gear icon?
Was that the "epub.css" in /KOReader/data/? Luck; Ken |
06-28-2017, 04:20 PM | #3 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
|
Quote:
I think the css parser used doesn't respect !important for some reason, that's the only explanation I can think of. I guess I'll have to edit the css files in the epub manually for now. But it will get annoying having to do that for every book I want to read. Thanks for the help. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default Paragraph Style When Viewing HTML Files | DuckFOO | Amazon Kindle | 6 | 05-15-2017 08:45 PM |
Overriding style sheet for one paragraph | Alda | Sigil | 9 | 05-20-2015 09:25 AM |
Break Document at Paragraph Style | BatGrfx | Writers' Corner | 2 | 09-10-2011 02:46 PM |
Odd Paragraph Style behavior for text input | Sylver | Conversion | 8 | 02-11-2011 04:37 PM |
Paragraph Style Not Exporting / ePub | soulartist | Workshop | 5 | 12-11-2010 12:02 AM |