Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2025, 08:55 PM   #1
TheBereaved
Junior Member
TheBereaved began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: Kobo Forma
Images are very small and don't stay centered when left aligning text

Hello everyone,

First Post here! I recently discovered KOReader and love it. I really do enjoy the amount of customization that it provides.

I did run into a weird issue though and, thus far haven't found any fix to it.
I fact I have 2 issues.

I am reading the first book of The Expanse Series (Leviathan Wakes), and occasionally there are small images between paragraphs that look like lightning bolts. In the original Kobo OS, the text is left aligned and the images are well scaled and centered.

That being said, when used on KOReader, the images are VERY small. And when I select "Left align Most Text" the images themselves are also left aligned. I did find an option I thought would fix this "center images relative to text" but that didn't do anything.

See Image: http://postimg.cc/XGP0x0m6

Any help would be appreciated.
TheBereaved is offline   Reply With Quote
Old 01-02-2025, 04:36 AM   #2
jonnyl
Zealot
jonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolate
 
Posts: 135
Karma: 33084
Join Date: Jan 2021
Device: Likebook Mars
To make the images larges relative to the text, try increasing the 'Zoom (dpi)' setting in the bottom menu, 3rd tab (page icon).

To left align just the body text, a custom style tweak may work for your book. First try the following tweak, which should only left-align paragraph text:

Code:
p { text-align: left !important; }
(Go to the Style tweaks menu, uncheck your current text alignment selections, then long-press on 'Book-specific tweak' and enter the above line.)

If that doesn't work, you may need to investigate further. Select some text on a page that encompasses both some body text and a little divider image (e.g., from Yes I do." to Holden), and on the pop-up menu select 'View HTML' Then take note under what tag either one is. (If unsure, you can copy and paste the text or a screenshot here.)

For your style tweak to work, the little image must be under a different HTML tag than the body text.
jonnyl is offline   Reply With Quote
Old 01-02-2025, 07:40 AM   #3
TheBereaved
Junior Member
TheBereaved began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: Kobo Forma
Quote:
Originally Posted by jonnyl View Post
To make the images larges relative to the text, try increasing the 'Zoom (dpi)' setting in the bottom menu, 3rd tab (page icon).
Thanks that worked splendidly! Exactly what I was looking for!

Quote:
Originally Posted by jonnyl View Post

To left align just the body text, a custom style tweak may work for your book. First try the following tweak, which should only left-align paragraph text:

Code:
p { text-align: left !important; }
That also worked but ended up using a slight rework as, it was also contained within a <p>. Those small images always shown up with <p class="orn"> so this was the final css

Code:
p:not(.orn) { text-align: left !important; }
Thanks a lot for your help!
TheBereaved is offline   Reply With Quote
Old 01-02-2025, 11:42 AM   #4
jonnyl
Zealot
jonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolate
 
Posts: 135
Karma: 33084
Join Date: Jan 2021
Device: Likebook Mars
Glad it worked, and thanks for reporting back with the actual solution!
jonnyl is offline   Reply With Quote
Reply

Tags
alignment, image & text, koreader, size issues


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Left alignment with centered images shoelesshunter Kobo Reader 0 10-18-2019 03:22 PM
Help with left-aligning news sources gordon_ramaswamy Recipes 2 08-13-2017 10:12 AM
Aligning Images and Text Horizontally miz sue ePub 3 09-11-2015 09:20 AM
Aligning poetry lines flush that begin with left quotation marks Derek R ePub 42 05-31-2014 04:16 AM
Centered but left align? mtrahan ePub 15 04-01-2012 03:56 PM


All times are GMT -4. The time now is 05:13 AM.


MobileRead.com is a privately owned, operated and funded community.