02-11-2012, 12:55 PM | #1 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Changing font size in Book Details Comments
Is there a way to adjust the font size in the Comments section of the Book Details? Preferably without having to edit the HTML coding of every book?
I use it for the summary of my ebooks and it's fine when viewed in Calibre on a computer monitor but when I export it into an epub catalog viewed on my Nook the text is extremely small. I would have to set my Nook to the second highest text size to make it readable; which makes everything else far too large. I tried using the Style selections but using the Heading styles means each sentence of the comments appears on it's own page and the other styles are just as small if not smaller than the Normal style setting. I know I could change the Font setting in Look And Feel but that affects all of Calibre which I don't want either since I'm fine with the current settings there. Thanks, Beth Edit: I'm using Calibre 0.8.36 if that makes a diference Last edited by BookJunkieLI; 02-11-2012 at 01:07 PM. |
02-11-2012, 10:37 PM | #2 |
creator of calibre
Posts: 43,845
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can adjust the template calibre uses for catalogs. See http://manual.calibre-ebook.com/cust...lates-etcetera
The relevant file is catalog/stylesheet.css |
Advert | |
|
02-12-2012, 10:56 PM | #3 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Thanks for getting back to me, Kovid.
I thought I followed the directions correctly but I got the following error message when I went to create a catalog: Spoiler:
What I did is in Application Data/calibre I created a resources sub-folder and then a catalog sub-folder within resources ie Application Data/calibre/resources/catalog. I then copy and pasted a copy of stylesheet.css from Program Files/Calibre/resources/catalog to Application Data/calibre/resources/catalog. I left the original file where it was as I wasn't sure I was supposed to delete it. I opened up stylesheet.css with wordpad and adjusted this section: td.notes { font-size: 100%; text-align:center; } ie changed font-size: 100% to 150%. I'm not familiar with CSS programming but this seemed the logical section to change. Any idea what I did wrong? Thanks. Beth |
02-12-2012, 11:06 PM | #4 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
To follow up I read thru the error message and guessed that the problem was it wasn't finding the other files from the original directory so I copy and pasted them as well. That solved the error message.
However, I must be editing the wrong section of stylesheet as the text in the comments section is still the same really small size. Absolutely no discernible difference. |
02-12-2012, 11:31 PM | #5 |
creator of calibre
Posts: 43,845
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add font-size:large;
to the div.description section |
Advert | |
|
02-13-2012, 09:42 AM | #6 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Thanks, Kovid. That worked. Though it looks like I'll still need to go through and strip out any formatting that was attached to the comments when I originally imported the files.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font size in metadata - comments | Noughty | Library Management | 14 | 04-12-2011 08:38 PM |
Troubleshooting Font size changing | Kumabjorn | Amazon Kindle | 1 | 07-23-2010 12:49 AM |
DR1000 Changing Font-Size | ThR | iRex | 6 | 06-21-2010 06:29 AM |
Book Details - Size of Font | adrian1944 | Calibre | 1 | 02-18-2010 06:12 PM |
Changing font size output | Candyjet | Calibre | 1 | 06-11-2009 10:50 AM |