View Single Post
Old 06-28-2017, 12:03 PM   #1
AndreasTPC
Junior Member
AndreasTPC began at the beginning.
 
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;
}
But it doesn't work, paragraphs are still indented, and the margins are not appearing. What am I doing wrong here?
AndreasTPC is offline   Reply With Quote