![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2015
Location: West Virginia
Device: Kindle
|
how to change Sigil's heading
When importing an HTML file, if it does not have a heading, Sigil adds this
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title/> </head> Why? I want to add a line to link my own CSS, like this Code:
<link href="../Styles/styles.css" rel="stylesheet" type="text/css" /> |
![]() |
![]() |
![]() |
#2 |
A curiosus lector!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
Something like that?
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>About Sigil</title> <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/> </head> <body> <p>...</p> ......... </body> </html> |
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Because the EPUB2 rules say that the Boilerplate MUST exist to be valid, even if it is a null value
You can Bulk S&R to update your <title> block Linking stylesheets in Sigil is a piece of cake (chocolate-fudge, 3-klayers) Add your stylesheet(s) Files Add: Existing Files (You can bulk add here) select the files to get the SAME set of linked stylesheets: Right-click-Link Stylesheets: Tick those that apply: OK NOTE: all existing links will be removed if not selected. No incremental adds, except that the tick boxes WILL be pre-selected if the link exists in ALL the files that were chosen |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,489
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Or try simply right clicking on the newly imported file in Sigil's BookBrowser window and select "Link Stylesheets..."
KevinH |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2015
Location: West Virginia
Device: Kindle
|
thanks!
|
![]() |
![]() |
![]() |
Tags |
css tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with Sigil and chapter titles (Heading 2) | AprilHare | Sigil | 18 | 02-05-2020 08:14 PM |
heading tag with sigil 0.7.4 | bobcdy | Sigil | 3 | 01-12-2014 12:45 PM |
font change sigil to mobi with kindlegen | wyatt650 | Sigil | 4 | 09-05-2013 10:49 AM |
Can I change heading font size in Calibre? | lizzielou | Calibre | 3 | 01-21-2012 09:31 AM |
Recomendation about Heading in Sigil | sergiodongala | Sigil | 6 | 07-06-2011 08:12 PM |