I have a .png file with a transparent background, but when I put it in a K2 article the background becomes white.
I found these two threads with solutions:
community.getk2.org/forum/topics/white-background-showing-for
community.getk2.org/forum/topics/pngs-transparency-not
The solutions are not working for me, unfortunately.
When I inspect the image, it tells me that k2.css has the following line, making the background white:
div.itemFullText img {padding:2px;margin:4px;background:#fff;border:1px solid #666;}
But when I open k2.css in a text editor I find
div.itemFullText img {}
so there is nothing to edit.
Searching the file for the word "background" I deleted backgrounds from as many "img" tags as I could (after making a copy of the original file, of course), but it still shows up with a white background. I even added "background:none;" to div.itemFullText img {}, but still nothing.
What am I missing? Is this container type inheriting properties from something I can't see? Are there more than one k2.css I should be looking in?
I found these two threads with solutions:
community.getk2.org/forum/topics/white-background-showing-for
community.getk2.org/forum/topics/pngs-transparency-not
The solutions are not working for me, unfortunately.
When I inspect the image, it tells me that k2.css has the following line, making the background white:
div.itemFullText img {padding:2px;margin:4px;background:#fff;border:1px solid #666;}
But when I open k2.css in a text editor I find
div.itemFullText img {}
so there is nothing to edit.
Searching the file for the word "background" I deleted backgrounds from as many "img" tags as I could (after making a copy of the original file, of course), but it still shows up with a white background. I even added "background:none;" to div.itemFullText img {}, but still nothing.
What am I missing? Is this container type inheriting properties from something I can't see? Are there more than one k2.css I should be looking in?