![]() |
#1 |
Intentionally Left Blank
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Help with extra_css
I'm starting to get the hang of creating recipes, but I'm stuck on the use of extra_css. Whatever I do, it just gets ignored. What I'm trying to do is to bump up the font size on the Calibre navbar; the default is too small for my Nook. Since the CSS sets the font size to 0.7em, I thought I'd try 1em:
extra_css = '.calibrenavbar {font-size: 1em;}' Doesn't work. After numerous attempts, I started trying what should be trivial things like changing the font size for p tags. But everything gets ignored. I've opened the resulting epub in Sigil and verified that it is not adding anything to the style section. Checked the help and the forums to see if I'm placing it in the wrong spot or something like that, but I'm getting nowhere. I'm guessing I'm doing something flagrantly obvious that's wrong, but I sure can't spot it. ![]() |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Intentionally Left Blank
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Quote:
extra_css = 'a {font-size: 1em;}' it will change the font size on the navigation bar links, but nothing else. A little clumsy, but it gets me where I need to go. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
extra_css - need remedial help | BrianG | Calibre | 3 | 01-21-2010 01:52 PM |