![]() |
#1 |
Enthusiast
![]() ![]() Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
Inserted Metadata Page Header Background
Calibre version 8.60 (and also version 8.58).
Nook Tablet Night and Mocha Themes (white text color on darker background) The inserted metadata page header (the box at the top with the title, author, series, publisher & date) now has a light grey background, so it is unreadable because of white text color. Whichever Calibre version I was using on May 13, 2012, worked correctly with white text After that date I started using the Modify ePub plug-in, but just recently the plug-in started inserting the metadata page in front of the cover again (instead of after the cover) so I did some conversions, and this glitch came up. |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
You can edit the css for this under \Calibre Settings\resources\jacket\stylesheet.css and alter or eliminate the background color of the jacket added to the book.
|
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() ![]() Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
Thank you, but I don't want to mess with the program itself without very detailed instructions. I don't know enough and am not conversant in CSS.
I did find the stylesheet.css (in program files\calibre) and "background #eee" but what is needed as a property is transparency, isn't it? And is that the only reference to background color in the stylesheet? |
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Just copy the css file somewhere safe then experiment with 1 book. I think removing the line that has the #eee should give you what you want. The worst that could happen is you mess it up and copy the original css back in place.
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The CSS lines that affect color all have color as part of the element. All you have to do is figure which selector is being used for the color you want to change.
Colors can be specified as Hexadecimal (#eee) or (for the 16 basic ones)their color name (black, grey, red, blue...) for the Jacket page, this seems to bee the one Code:
.cbjbanner {
-webkit-border-radius: 8px;
background: #eee;
border: thin solid black;
display: block;
margin-bottom: 0.5em;
margin-left: 1em;
margin-right: 1em;
margin-top: 0.5em;
padding-bottom: 1em;
padding-left: 1em;
padding-right: 1em;
padding-top: 1em
}
|
![]() |
![]() |
![]() |
#6 |
Enthusiast
![]() ![]() Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
I removed only the "#eee" and left the "background" and it seems to have worked. thanx.
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
White would be no good, as the text is white. There either needs to be a way to have the background transparent or to make the text within black.
I will try eliminating background and see if it still works. thanx. |
![]() |
![]() |
![]() |
#9 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A page background color for less eyestrain? | racsw | Library Management | 13 | 03-01-2011 12:15 PM |
Regexp and Alternate Page Header/Footer | adad | Calibre | 5 | 01-15-2011 09:03 PM |
Easy Way to Remove Inserted Metadata Page? | AgentBEATS | Calibre | 6 | 06-02-2010 09:08 PM |
epub to pdf conversion: blank page inserted before any section | Nicoo | Calibre | 0 | 12-06-2009 06:10 PM |
Odd and Even page Header Settings | RajeshKumar | Sony Reader | 11 | 05-18-2007 10:16 AM |