Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2011, 02:49 PM   #1
Alda
Zealot
Alda began at the beginning.
 
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
Different color for headings in Sigil

Hello,

Can anyone give me the code to make the headings (heading 1) into a different color (red) in Sigil?

Also, where exactly would I put that code?

Thank you!

Alda
Alda is offline   Reply With Quote
Old 01-24-2011, 04:19 PM   #2
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,817
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:
Originally Posted by Alda View Post
Hello,

Can anyone give me the code to make the headings (heading 1) into a different color (red) in Sigil?

Also, where exactly would I put that code?

Thank you!

Alda
if all H1 are to be 'red'

In the style sheet
h1 { color: red }

if only some items;

.makered {color: red; font-weight: bold; text-align: center;}
(I added centered and bold to the example for grins )

and in code view (CV)
<h1 class="makered">
theducks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding headings in color Alda ePub 11 01-27-2011 07:57 AM
Headings disappear in Sigil Alda Sigil 4 01-24-2011 10:29 AM
Can Sigil be downloaded and used in the Nook Color? gatorman Sigil 1 01-08-2011 06:18 AM
Custom Headings To Catalogue Quetico Calibre 0 12-08-2010 11:06 PM
Different font for headings bremler ePub 4 03-11-2010 06:03 AM


All times are GMT -4. The time now is 12:51 PM.


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