08-06-2012, 09:25 AM | #1 |
Enthusiast
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
|
Search & Replace CSS file
Search and Replace seems to work only on HTML files. Can it be made to work on the CSS file? eg stylesheet.css
Many thanks Michael |
08-06-2012, 09:56 AM | #2 |
Well trained by Cats
Posts: 29,790
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Advert | |
|
08-06-2012, 11:00 AM | #3 |
Enthusiast
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
|
Hi theducks
Thanks for thought will have a look at Sigil. Pity as with calibre on convert it will > unpack > do search and replace on all the HTML files > then repack. Don't know if Sigil can do the same on the CSS files? Thanks Michael |
08-06-2012, 09:09 PM | #4 | |
Well trained by Cats
Posts: 29,790
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Tweway EPUB (the T key) will un pack and repack. You use your favorite tools to edit, the press the rebuild button... dONE |
|
08-07-2012, 04:09 AM | #5 |
Enthusiast
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
|
Hi theducks
Thanks for further comments that Sigil can do it. I use W7 and could not find any reference to Tweway. Could you please expand the instructions? Thanks Michael |
Advert | |
|
08-07-2012, 04:32 AM | #6 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
08-07-2012, 10:01 AM | #7 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Also keep in mind that you may be able to accomplish what you want with the "Extra CSS" and the "Filter CSS" tabs found in the "Look and Feel" section of the Convert dialog. Maybe not quite as straight-forward as S&R, but certainly possible for fairly simple changes.
|
08-09-2012, 09:36 AM | #8 |
Enthusiast
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
|
Hi DiapDealer
Thanks for the tip to use Look & Feel. However I can't get it to work! Can you tell me what I am doing wrong please? Wish to change "font-size: 1em;" to "font-size: 1.1em;" in stylesheet.css. Open up convert epub to epub in calibre > Look & Feel > tried in "Filter style information" Tried ticking remove font-size: 1em; and put in extra CSS font-size: 1.1em; remains unchanged Tried ticking remove fonts only but font-size: 1em; remains unchanged. Tried putting font-size: 1em; in "other CSS properties and in remains as is. Can you show me what I am doing wrong? Thanks Michael |
08-10-2012, 05:20 PM | #9 |
Enthusiast
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
|
Bump
Hi Anyone Thanks for the tip to use Look & Feel. However I can't get it to work! Can anyone tell me what I am doing wrong please? Wish to change "font-size: 1em;" to "font-size: 1.1em;" in stylesheet.css. Open up convert epub to epub in calibre > Look & Feel > tried in "Filter style information" Tried ticking remove font-size: 1em; and put in extra CSS font-size: 1.1em; remains unchanged Tried ticking remove fonts only but font-size: 1em; remains unchanged. Tried putting font-size: 1em; in "other CSS properties and in remains as is. Can anyone show me what I am doing wrong? Thanks Michael |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search and Replace in CSS Files | afakler | Calibre | 0 | 03-10-2012 04:46 AM |
Help with a search & replace | mmholt | Library Management | 11 | 10-21-2011 06:49 PM |
Search & Replace :help: | krussell | Calibre | 3 | 08-02-2011 04:45 PM |
Search & Replace | Pat Nickholds | Sigil | 2 | 10-21-2010 11:18 PM |
Search & replace TEXT | ToeRag | Calibre | 3 | 04-10-2010 01:44 PM |