Mobileread
Remove "Read" button from CCS
#1  wgib 06-10-2019, 08:44 PM
Is there a way I can remove the "Read" button from the code and have only the "Download" button instead. I'm happy to delve into the code and ok with simple editing.

Reply 

#2  kovidgoyal 06-10-2019, 11:37 PM
it's not styled using CSS, it's in javascript. But if you wish to hide the button, it is fairly simple, look in the file book_details.pyj search for 'Read'
Reply 

#3  kovidgoyal 06-10-2019, 11:38 PM
In a calibre install you will need to search for the same thing in the compiled javascript in the file index-generated.html in the resources/content-server directory inside the calibre instalation folder.
Reply 

#4  wgib 06-11-2019, 07:29 PM
Thank you for your quick response, Kovid. Much appreciate
Reply 

Today's Posts | Search this Thread | Login | Register