09-28-2019, 03:05 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: none
|
Get same style of css for all books in one series
I have five books in A Song of Ice and Fire series. The first four of them have a certain set of styles, but the last one is different. Is there an easy way to automatically edit the books in a series to have exactly same styles.
By style, I mean the css styles used for a paragraph, or a bold letter. For example, the last book has the first letter of every chapter in bold format and I want an automatic way to edit all the books in that series to have same settings to have first letter in each chapter in bold format. |
10-06-2019, 12:44 PM | #2 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Edit each book and manually edit (or add) the CSS code for the class you want to use for the first letter of each chapter title. There is no automatic way to do what you want to do, so you will have to manually edit or add the codes on each page for each chapter.
|
Advert | |
|
10-06-2019, 12:56 PM | #3 | |
Well trained by Cats
Posts: 30,456
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Look Note Edit (the relevant place in the stylesheet is a lot easier than modifying the classes in the body of the work) |
|
10-06-2019, 01:05 PM | #4 | |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Quote:
|
|
10-06-2019, 02:46 PM | #5 | |
Resident Curmudgeon
Posts: 76,537
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I hope you know CSS/HTML well enough to do this as there is no automated way to di this. It has to be done manually. |
|
Advert | |
|
10-06-2019, 05:21 PM | #6 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
He wants the first four books to match the fifth book, so he will have to manually edit all the chapter titles in the first four books. After he learns how to code with CSS, he should be able to quickly go through all the chapter titles in the first four books to add the coding for the first letter in each chapter title. Yes, opening the fifth book in the editor will show him how the code is written and what the CSS code should be in the stylesheet.css file.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Chapterhead style --- possible in CSS? | GrannyGrump | ePub | 10 | 09-18-2013 10:58 PM |
An example file of your CSS style sheet | roger64 | Writer2ePub | 6 | 04-11-2012 03:59 AM |
CSS style, TOC and other stuff | sebdea | Sigil | 8 | 04-19-2011 04:40 AM |
list-style in CSS? | frabjous | ePub | 2 | 08-13-2009 07:28 PM |