jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Topic started by: PhatFarmer on 26.06.2021 10:11:57

Title: Files link and icon in Textline
Post by: PhatFarmer on 26.06.2021 10:11:57
Hi Folks, I try to include the download links in articles in the running text. It should look like in the documentation "Files link and icon", possibly with a smaller icon. I made it so far, but the icon is always above the text. How do I get the icon in one line with the text? I downloaded the "Files link and icon" layout and integrated it and in the articles i made it like this: <div>text blabla {jd_file onlinelayout == Files link and icon}{jd_file file == 3}</div>. I add a screenshot, so you can see how it looks. Thaks so far. Regards, Stefan.
Title: Re: Files link and icon in Textline
Post by: ColinM on 26.06.2021 13:31:43
Stefan
I cannot reproduce!! See pic
Will send you a PM
Colin
Title: Re: Files link and icon in Textline
Post by: ColinM on 28.06.2021 15:48:02
Hi
This turns out to be a template CSS 'challenge' where the template css has
img { display:block;}
This can be overriden by something like
.jd_content_wrapper img,
.jd_content_plugin img {  display: inline-block !important;}
being included in the jD custom.css
Colin