Page 1 of 1
Background Image
Posted: Wed Mar 11, 2020 6:10 pm
by maxv
Hello,
I use blekathlon theme, I noted that uploaded images are modified and it's added a black background on transparent parts. How can I change background color to blue?
Re: Background Image
Posted: Wed Mar 11, 2020 7:41 pm
by Edi
Can you please give the address of the installation.
Re: Background Image
Posted: Thu Mar 12, 2020 2:19 pm
by maxv
Re: Background Image
Posted: Thu Mar 12, 2020 4:01 pm
by dbelov
Hi, maxv
Try to use jpg for images and with size bigger than your thumbnail setting. This will fix the problem.
Re: Background Image
Posted: Fri Mar 13, 2020 12:35 pm
by maxv
Unfortunately I can't do it, so what part of bludit or theme take the image and add the black background?
Re: Background Image
Posted: Fri Mar 13, 2020 10:55 pm
by dbelov
maxv wrote: ↑Fri Mar 13, 2020 12:35 pm
Unfortunately I can't do it, so what part of bludit or theme take the image and add the black background?
Ok, then change this line
https://github.com/blthemes/Blekathlon/ ... me.php#L19
Code: Select all
<?php $coverImage = $helper->get_thumb();?>
to
Code: Select all
<?php $coverImage = $page->coverImage();?>
Re: Background Image
Posted: Tue Mar 17, 2020 11:43 am
by maxv
It works! Thank you!
Re: Background Image
Posted: Wed Sep 29, 2021 1:58 pm
by Benhart
There should be a code.
Re: Background Image
Posted: Wed Sep 29, 2021 2:39 pm
by Edi
Benhart wrote: ↑Wed Sep 29, 2021 1:58 pm
There should be a code.
What do you mean with this?