View Single Post
Old 10-27-2014, 09:59 AM   #1
rosshalde
Zealot
rosshalde began at the beginning.
 
Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
Changing h1 text back to normal

Hello,

I had a nice epub with chapter headings all linked to the TOC and viewed nicely on a reader. I decided to replace one of the chapter titles with a picture and have the former chapter title be normal text underneath (just like the rest of the chapter)

I inserted the picture as directed by sigil
How can I use an image for a Chapter heading in the TOC?

Insert your image where you want it – it will look something like this in Code View:

<img src="../Images/myimage.png" />
Add the heading tag you want to use for the image and give it a title to display in the TOC, e.g.

<h1 title="CHAPTER 1"><img src="../Images/myimage.png" /></h1>
The TOC will now have an entry called "CHAPTER 1" which links to your image.

I then took the old chapter title that was labeled h1 and changed it to plain old ,<p>. The effect on chapters worked. The pic is at the top and the former chapter is now inside the same "chapter" as the pic, rather than its own chapter.
the problem is it is still formatted with bigger/bolder letters. How do I tell it to make the font match everything else?
rosshalde is offline   Reply With Quote