View Single Post
Old 10-01-2019, 10:14 AM   #343
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,227
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by nqk View Post
I set the CSS like this

[role="doc-footnote"] {display: none;}

It indeed hides the footnote texts from the main body, but the pop-up is blank too.

Sent from my GM1910 using Tapatalk
Using 'display:none' is almost never a good idea, for accessibility reasons.

You could use a different approach: put all the notes on separate file at the end of the book, and mark it as non-linear. It will be hidden of the main flow - for most e-readers -, but it's still visible - on a pop-up, for calibre - when the user click on a footnote reference.

Using the class override, as Kovid suggested, will fix you problem on calibre, but the text will still be invisible on other reading systems.

Last edited by thiago.eec; 10-01-2019 at 10:43 AM.
thiago.eec is offline