Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-03-2013, 11:51 AM   #1
townsend
Enthusiast
townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.
 
townsend's Avatar
 
Posts: 29
Karma: 6366
Join Date: Oct 2011
Device: Sigil
Modifying H1-H6 Heading Styles

Is it possible to modify the default values for the H1-H6 Heading styles?
townsend is offline   Reply With Quote
Old 05-03-2013, 12:11 PM   #2
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Yes.

In your CSS file you can do things like:

Code:
h1 {
margin-top:3em;
font-size:2em;
text-align:centre;
}
The above example can be used for all heading tags, just change the number and add whatever modifications you like.

In the same way, you can pretty much modify the behavior of every single tag available.
ghostyjack is offline   Reply With Quote
Advert
Old 05-03-2013, 12:40 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
In BookView you cannot.
Toxaris is offline   Reply With Quote
Old 05-03-2013, 01:03 PM   #4
townsend
Enthusiast
townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.
 
townsend's Avatar
 
Posts: 29
Karma: 6366
Join Date: Oct 2011
Device: Sigil
Quote:
Originally Posted by Toxaris View Post
In BookView you cannot.
No. Of course not. But the code and suggested by GhostyJack looks right on.

And for anyone else looking in on this thread; I think, for each book (xhtml file), you have to right click in the Book Browser pane, and link the css to each file manually.



PS: Even thought I like the ease of Book View, I always check to code to make sure it is as clean as possible.
townsend is offline   Reply With Quote
Old 05-03-2013, 01:23 PM   #5
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:

Code:
h1 {
margin-top:3em;
font-size:2em;
text-align:centre;
}
Although proper HTML coders use the proper spelling of 'center'....
Turtle91 is offline   Reply With Quote
Advert
Old 05-03-2013, 03:07 PM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You can also do something like:

Code:
h1, h2, h3, h4, h5, h6 {
  color: red;
}
Jellby is offline   Reply With Quote
Old 05-03-2013, 05:56 PM   #7
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
And for anyone else looking in on this thread; I think, for each book (xhtml file), you have to right click in the Book Browser pane, and link the css to each file manually.
Or you select (clcck, shift-click, or control-click) any number of files and link the stylesheets to more than one at a time.

BTW, I just uncovered a nice Sigil feature that I didn't know was there: in CV a right-click on a tag's class="something' will take you to the CSS definition.

Kudo's to the developers for thinking of us

Paul
phossler is offline   Reply With Quote
Old 05-03-2013, 06:09 PM   #8
townsend
Enthusiast
townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.townsend got an A in P-Chem.
 
townsend's Avatar
 
Posts: 29
Karma: 6366
Join Date: Oct 2011
Device: Sigil
Quote:
Or you select (click, shift-click, or control-click) any number of files and link the style sheets to more than one at a time.
Good call there Phossler! I stand corrected. You do NOT have to link each file in the Book Browser individually. Ctl-click and Shift-Click allow you to make multiple selections at once. Then the right click to select the link to the CSS file, applies to all xhtml files selected, at once. Nice!

Quote:
BTW, I just uncovered a nice Sigil feature that I didn't know was there: in Code View, a right-click on a tag's class="something' will take you to the CSS definition. Paul
Oh really? Good find. I'll have to remember that.
townsend is offline   Reply With Quote
Old 05-04-2013, 10:52 AM   #9
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Quote:
Originally Posted by Turtle91 View Post
Although proper HTML coders use the proper spelling of 'center'....
Whoops!

Being English I have a habit of using "centre" instead of "center" for my tags. Which is fine for the tag name, but plays merry hell when I make the mistake of putting it in as a tags attribute.

Life would be much simpler if we all spoke the same variant of English, British English of course.
ghostyjack is offline   Reply With Quote
Old 05-04-2013, 11:21 AM   #10
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: 29,763
Karma: 54401244
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 ghostyjack View Post
Life would be much simpler if we all spoke the same variant of English, British English of course.
Not only is there spelling differences, there are regional accents
(We don't have those either here in the States... Nah! )
theducks is online now   Reply With Quote
Old 05-04-2013, 11:42 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,848
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
Not only is there spelling differences, there are regional accents
(We don't have those either here in the States... Nah! )
I have a much better idea. Let's send everyone in the USA who has a southern accent to the UK to change their variation of English into some variation of redneck.
JSWolf is online now   Reply With Quote
Old 05-04-2013, 11:50 AM   #12
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Well seeing as I'm in Bristol in the U.K. - which is in the west-country, anyone you send our way will most likely end up either talking like a farmer or a pirate.
ghostyjack is offline   Reply With Quote
Old 05-04-2013, 07:26 PM   #13
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by ghostyjack View Post
Whoops!

Being English I have a habit of using "centre" instead of "center" for my tags. Which is fine for the tag name, but plays merry hell when I make the mistake of putting it in as a tags attribute.

Life would be much simpler if we all spoke the same variant of English, British English of course.
Sorry once you improve the English there is no going back

Dale
DaleDe is offline   Reply With Quote
Old 05-05-2013, 05:17 PM   #14
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
If it isn't broke, don't fix it.

Now where did I park the horse and cart?
ghostyjack is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty heading Elle518 ePub 4 05-01-2012 11:24 AM
Keyboard shortcuts for heading styles? Tryphan Sigil 4 09-26-2011 06:54 AM
Recomendation about Heading in Sigil sergiodongala Sigil 6 07-06-2011 08:12 PM
yet another heading question jhempel24 Sigil 3 11-25-2010 07:58 AM
Kindle Heading to Best Buy kindle79 Amazon Kindle 2 09-09-2010 04:22 PM


All times are GMT -4. The time now is 04:42 PM.


MobileRead.com is a privately owned, operated and funded community.