![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: none
|
Font styles show for paragraph tags but not lists
Hi, I'm not sure where to post this so please redirect me if necessary. I'm trying to fix an epub on SIGIL where the font family (a system font) does not display consistently throughout my epub on my specific epub reader (Vitalsource). For example, it'll only show for main paragraph tags like <p class="maintext"> but not for list tags <li class="listtext">. Under both I have declared the exact same font-family (a system font).
It shows fine on Sigil, but not on the reader I'm using (Vitalsource). On VS, the font style works for the main body, but on the lists, it reverts to my back up font family (sans serif). How do I fix this? ![]() |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,947
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That would suggest it is a VitalSource reading app issue and not an issue with Sigil.
Since you are trying to use a system font, from what I've seen, for most reading apps, you would need to enable using that font in it's configuration dialog. Using font's external to an epub can be a pain and, in my experience, results in an epub that is not usable on multiple systems. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: none
|
Quote:
It's just confusing to me because VS reads the font fine when it's in the main body (<p>) but when it comes to lists <ol><li> it just stops reading it. I thought since it reads it in one code but not in another, its not an issue of the app not reading/supporting the font. ![]() |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,548
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The reading app may be hardcoded to use a different font for lists.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Conversion Removes Original Paragraph Styles | mjdz | Conversion | 4 | 06-16-2018 01:21 AM |
Question: paragraph spacing and CSS styles | rhino79 | ePub | 3 | 05-06-2013 05:06 PM |
Searching tags to show tags I want even when it has a tag I do not | Jade Aislin | Library Management | 2 | 04-25-2012 01:01 PM |
How can i use the calibre server to show my book lists to someone in the internet? | GustavoB | Library Management | 3 | 03-23-2012 12:07 PM |
Inserting paragraph tags | Oldpilot | Sigil | 3 | 02-21-2011 12:00 AM |