02-06-2024, 07:33 PM | #1 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
Book-specific tweak on Profiles
I download an ePub version of The Economist from PressReader every week. I have a Profile that adjusts all the settings automatically after I open it however, I have now started using a "book-specific tweak" (
Code:
body {margin: 0 0em !important} is there any way I can do that? the files are consistent week to week, therefore would like this tweak applied always. |
02-06-2024, 11:06 PM | #2 |
Wizard
Posts: 1,063
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Book specific tweak is applicable to this book only, there is no action for it.
Try "User style tweak" instead. |
02-07-2024, 07:41 AM | #3 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
|
02-07-2024, 07:45 AM | #4 |
Wizard
Posts: 1,063
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Yes, put your css file to koreader/styletweaks folder.
|
02-07-2024, 08:30 AM | #5 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
okay, I added the "small margin.css" file to the specified folder and was able to successfully add it to the Profile. Thank you!
just one minor thing, when I go to the 'User style tweaks' menu on koreader, it shows two options to choose from: "small margin" (which is the line of code) and another one called ". small margin" which when I long press on it, shows a bunch of gibberish. Is this normal? can I remove it? if so how? |
02-07-2024, 12:40 PM | #6 |
Wizard
Posts: 1,063
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
I think you have a file ". small margin" in the koreader/styletweaks folder.
Maybe your operating system added it? You can see it in the KOReader file browser with enabled setting "Show hidden files". |
02-07-2024, 06:14 PM | #7 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
okay this is really weird now, from the KOReader file browser, using both "show hidden files" and "show unsupported files" I can only see the .css file I added i.e "Small Margins.css".
connecting the kindle to my Mac and using "Shift+Command+." (show hidden files on macOS) also does not show any other files apart from the one I added. Yet, I still get the ". Small Margin" under 'user style tweaks'. So naturally, I changed the name to the css file to "small column margin.css" and now have another option under 'user style tweaks' called ... you guessed it, ". small column margin" what gives? |
02-08-2024, 11:48 AM | #8 |
Terraner
Posts: 524
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
|
Its a resource fork created by your Mac OS X. You can simply delete those files from the styletweaks folder via Finder.
|
02-09-2024, 06:28 PM | #9 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
which files? I can only see the one I added, and well I kinda need it for the Profile to work.
|
02-10-2024, 02:39 AM | #10 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2021
Device: Likebook Mars
|
Those "._"-files are created by MacOS and will not show in Finder. They are also hidden in KOReader File browser, even when "show hidden files" and "show unsupported files" are selected. (@hius07: It might be a good idea to also hide them from the Styletweaks menu.)
@Ebookus: You can delete the file on a Windows Computer for example. On MacOS, you can't delete it in Finder. Here's how you delete it in Terminal: 1. Open the Styletweaks folder of your ereader in Finder. 2. On the bottom of the Finder window where the path is shown, right-click on the Styletweaks folder and select Copy "Styletweaks" as Pathname 3. Open Terminal 4. Change to Styletweaks directory: type cd and paste the pathname from your clipboard. 5. By typing ls -a it will show all files in the directory, including the hidden one you want to delete. 6. Type rm ._Economist.css (or whatever your file is named. If there is a space in the filename, you'll have to put it inside " quotes. 7. Close Terminal and disconnect ereader. Last edited by jonnyl; 02-10-2024 at 08:35 AM. |
02-10-2024, 03:50 PM | #11 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
thank you @jonnyl. I don't have a Windows machine, but terminal did the trick.
Last edited by Ebookus; 02-10-2024 at 06:02 PM. |
02-12-2024, 03:51 AM | #12 | |
Terraner
Posts: 524
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
|
Quote:
|
|
02-24-2024, 07:02 AM | #13 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
any of you mad lads knows how I could deactivate ticks (on the progress bars) and add them to a Profile?
I want both depth 1 and 2 OFF and 3 ON, or visually: [ ] 25 entries at ToC depth 1 [ ] 84 entries at ToC depth 2 [✓] 122 entries at ToC depth 3 |
02-24-2024, 04:25 PM | #14 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2021
Device: Likebook Mars
|
|
02-27-2024, 09:23 AM | #15 |
Digital Grenadier
Posts: 56
Karma: 10000
Join Date: Jan 2024
Device: Kindle
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tweak Book - gone? | viragored | Editor | 3 | 10-15-2014 12:52 AM |
Tweak: control behavior of the book list | einniv | Calibre | 2 | 07-26-2013 02:59 PM |
Tweak Book function somehow damages e-book | Archibald Yates | Conversion | 4 | 11-25-2012 07:44 AM |
Help looking for specific book type | Latch | Kobo Reader | 7 | 10-06-2011 01:40 PM |
Free Book (Nook/Kindle) - Profiles of Remarkable Businesses | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 04-05-2011 05:27 AM |