|
|
#1 | |||
|
Groupie
![]() Posts: 180
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
How do I override colour when writing a recipe?
Quote:
I've tried something like Quote:
Quote:
Last edited by Steven630; 07-17-2014 at 10:53 AM. |
|||
|
|
|
|
|
#2 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
I think you can use extra_css to override span { color }. Maybe. (I never had to use recipes, so this is only a shot in the dark)
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,622
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
remove_attributes = ['style']
|
|
|
|
|
|
#4 |
|
Groupie
![]() Posts: 180
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
|
|
|
|
|
#5 |
|
Groupie
![]() Posts: 180
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,622
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then you need to implement the postprocess_html function in your recipe filter the style attributes in that.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Override 'calibre' as converted feed's author in modified recipe | sk365 | Recipes | 11 | 01-21-2025 08:07 AM |
| Help me writing this recipe | korederoma | Recipes | 2 | 04-17-2012 04:05 PM |
| Recipe Request for "Daily Writing Tips" | Loosheesh | Recipes | 3 | 12-01-2011 07:01 AM |
| Help with writing recipe | kiklop74 | Calibre | 2 | 12-05-2008 02:54 PM |
| Problems writing recipe | kiklop74 | Calibre | 9 | 10-28-2008 07:58 PM |