![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
Why can't ePub font be bold?
Why can't ePub font be bold?
Do I need to change stylesheet.css or content.opf? I use Sigil 0.9.10. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
None of the following codes are valid:
<b> </b> <bold> </bold> <span class="bold"> </span> |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
Stylesheet.css:
.bold { font-weight: bold } .calibre { display: block; font-size: 1em; padding-left: 0; padding-right: 0; text-align: justify; margin: 0 5pt } h1 { display: block; font-size: 1.5em; font-weight: bold; line-height: 1; margin-top: 1px; margin-bottom: 4px; } h2 { display: block; font-size: 1.3em; font-weight: bold; line-height: 1; margin-top: 1px; margin-bottom: 4px; } .calibre4 { color: gray; display: block; height: 2px; border: currentColor inset 1px; margin-top: 8px; margin-bottom: 5px; } .calibre5 { line-height: 0.5; } h3 { display: block; font-size: 1.1em; font-weight: bold; line-height: 1; margin-top: 1px; margin-bottom: 1px; } .bottom { vertical-align: -16%; } .mbp_pagebreak { display: block; margin: 0 } |
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 1597305
Join Date: Mar 2010
Device: Ipod G4, MacOS 10.12, Calibre, Pocketbook Touch HD 3
|
I don't really know, but perhaps use <strong> or .strong ? Or, perhaps, failing that, can you embed a bold font (I honestly don't know if this is even possible)?
Sorry if this doesn't work (I only know webpages, not ebook technical stuff). Good luck - I'm sure someone will know for sure. |
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,757
Karma: 168431891
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Perhaps you might consider updating your copy of Sigil to a newer version?
Perhaps the font you are attempting to use does not have a bold variant available? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Why are you using an old version of Sigil?
But that shouldn't make any difference. Here's a test using both the standard tag for bold and your stylesheet. https://www.mobileread.com/forums/at...1&d=1625092067 |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
There must be something else wrong in your books, because bold works perfectly fine.
Either of these is correct: Code:
<p>This is <b>bold text</b>.</p> <p>This is <strong>bold text</strong>.</p> Code:
<p>This is <span class="bold">bold text</span>.</p> Code:
span.bold { font-weight: bold; } And where exactly is the bold not showing up? |
![]() |
![]() |
![]() |
#8 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,757
Karma: 168431891
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
And please don't post the same content in multiple spots.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
Thank you.
I hope I don't use <p> </P>. <strong> </strong> can be bold. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
Thank you.
I hope I don't use <p> </P>. <strong> </strong> can be bold. |
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2021
Device: Kindle123
|
Where is the book view of Sigil 1.6?
Where is the book view of Sigil 1.6?
I only see code view. |
![]() |
![]() |
![]() |
#12 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,582
Karma: 14328510
Join Date: Nov 2019
Device: none
|
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,088
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why would you not use <p> </p>?
|
![]() |
![]() |
![]() |
#14 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,624
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Duplicate threads merged.
|
![]() |
![]() |
![]() |
#15 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,304
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
You won’t see bold text in code view, you will only see the coding. Hit F10 to enable the window showing you what it looks like.
If that doesn’t work make sure you have linked the style sheet to your html sheet for the class declarations - obviously <b><strong> works without a stylesheet by using the default styles |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to converse bold font into normal font output in calibre? | Percivale | Kobo Reader | 3 | 11-09-2015 09:21 PM |
Entire book in a bold font | Bigo2 | Conversion | 14 | 03-28-2014 02:42 AM |
Kindle: How Can I Set Font To Bold | wander | Conversion | 0 | 11-17-2012 10:03 AM |
Re Entering Title in Bold or Bold And Colour Font | pricespringer | Library Management | 1 | 05-09-2011 04:45 AM |
Bold font issue | kakkalla | Calibre | 14 | 01-20-2011 04:55 AM |