View Single Post
Old 05-01-2017, 03:39 PM   #116
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by zuperhornets View Post
I've been using calibre2opds for a year and found it really a great catalog creator.

But I have a little concern about how it looks and feels.

Is there an easy (since I am not used to programming language) way to change the font, background, and icons in calibre2opds html page?
The look and feel of the HTML catalogs is controlled by the CSS stylesheets. There is the default set provided with Calibre2opds, but the user can over-ride the built-in versions. Details on how to do this is contained in the online calibre2opd Developers Guide.

The file you are most likely to want to over-ride is the desktop.css one that provides the basic fonts and styles that are used. Hopefully on examining these you can work out how to change the fonts, colours etc. If you look at the Calibre2opds source on GitHub then you will see at the top level a file called 'different CSS.zip' that includes some example that show how you can easily change the colour scheme used by Calibre2opds in the HTML catalogs.

If you want to play around with the layout at a more fundamental level then the various .xml templates that are used to generate the HTML might be relevant but I suspect those are less likely to be what you want to look at. Also changing them is harder and a very different skill, (and making a mistake there can stop the generation of the HTML catalog working correctly).

Please provide some feedback on whether this is enough information for you to what you want to do and how you get on. I would be interested in adding additional examples to the 'different CSS.zip' file mentioned earlier.

Last edited by itimpi; 05-02-2017 at 03:11 AM.
itimpi is offline   Reply With Quote