News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Black background

Started by mernst, 17.10.2017 22:35:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mernst

When I generate thumbnails from PDF files, they are generated with a black background and are therefore unreadable.
Where can I please fix it?
  •  

ColinM

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
Colin M
  •