|  08-29-2012, 02:43 PM | #1 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Oct 2009 Device: Sony PRS 505 | 
				
				Extra CSS after Filter Style Information
			 
			
			Hello, I couldn't find anything about this so I figured I'd just ask. I add font-family information by reconverting my epubs so they look all nice on my reader. However, when I use Filter Style Information to purge font information previously in the epub, it will also edit out whatever I add in the extra CSS section. Is there a way to tell calibre to add in the CSS after doing the filtering? Right now, I can sort of hack it by converting from epub to mobi (with filtering) and then mobi back to epub (with the new css but no filtering). But that feels kinda kludgy. | 
|   |   | 
|  08-29-2012, 10:48 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Do an epub to epub conversion twice, deleting the original_epub file between conversions. Or tweak the epub after conversion to add the css directly to its stylesheet. Filtering css happens only after all css including extra css has been flattened, so there is no way to have it not apply to the extra css.
		 | 
|   |   | 
| Advert | |
|  | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| html to epub conversion with extra CSS | oilizer | Conversion | 4 | 10-23-2011 08:51 AM | 
| Overridng link colour with extra CSS | cyruss | Conversion | 2 | 04-08-2011 07:58 AM | 
| Justification problem even with extra css | hiperlink | Recipes | 2 | 03-09-2011 08:40 AM | 
| css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM | 
| a few extra css questions | marbs | Recipes | 12 | 11-20-2010 10:15 AM |