jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: mernst on 17.10.2017 22:35:41

Title: Black background
Post by: mernst on 17.10.2017 22:35:41
When I generate thumbnails from PDF files, they are generated with a black background and are therefore unreadable.
Where can I please fix it?
Title: Re: Black background
Post by: ColinM on 18.10.2017 17:38:35
Hi
When jD generates the pdf image the text parts are  generated with a transparent background.  So I guess your website has a black background.
One can override this with some CSS in the jdownloads_custom.css file

For example if you want an 'Off white' colour back ground then add to your  jdownloads_custom.css file the following NB note there is a 'dot' at the start of the jd_screenshot line


.jd_screenshot {
    background-color: #fbfcf3;
}


If you are not sure how to add the css then see the article below
http://www.jdownloads.net/documentations/item/custom-css-in-layouts

Please let me know if this solves your problem
Colin