View Single Post
Old 12-05-2010, 10:50 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by michaelbr View Post
Thanks theducks, this is what I did:
- after opening Sigil with no book, I went to left side, right clicked Styles > Add New Item then add your code into the right side style sheet, the problem is whenever I close Sigil, the change is gone, is there anyway that I can save the style into Sigil, so every time I open Sigil or a new book, it'll be there?

Thanks
Not that I know.
Are you building "New" books with Sigil?
Options:
1)Just make a "Plain text" type file with Notepad (or favorite programmers editor) with your standard CSS stuff. Save as/rename to: Myfilename.css
add that for every new book. (The problem with this, is you always need to make the Link entry on the files in Text/files.xhtml)


2) Find a book with a Stylesheet (and/ Page layout) you like.
SAVE AS "MyNewBook"
Now remove all the Duplicates of "Types of pages". So you have 1 of Each: Title-page,Copyright: Prologue ...
Carefully trim down the words, leaving just enough to keep the tags in place (CV) A lot of work).

I just keep "Snippets of CSS and code blocke in a seperate file that I view with Notepad++ and copy and paste into Sigil, as needed
theducks is offline   Reply With Quote