title over file icon

Phoca Download - download manager
ChristopheMG
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Aug 2015, 17:20

title over file icon

Post by ChristopheMG »

Hello,

I have a problem with File Icons (mime type for this example), the title is over the icon, see this image:
Image

Here is the html code:

Code: Select all

<div class="pd-filename phocadownloadfile phoca-dl-file-box-mod">
<div class="pd-document16" style="background: url('http://*******/media/com_phocadownload/images/mime/16/icon-pdf.png') 0 center no-repeat;">
<a href="/component/phocadownload/file/1-guide-ce">Guide CE</a>
</div>
</div>
Do you have any suggestions please?

Christophe.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: title over file icon

Post by Jan »

Hi, hmm, do you get the same problem when testing with some standard template?

Jan
If you find Phoca extensions useful, please support the project
ChristopheMG
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Aug 2015, 17:20

Re: title over file icon

Post by ChristopheMG »

Yes, I tried with Protostar and Beez3, My current is "Minimalist".
I found a way, it's bad but... I add spaces > text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bla bla bla
If you have the time to check, I cannot give you the link in public, in private?
christine
Phoca Hero
Phoca Hero
Posts: 2857
Joined: 28 Nov 2010, 17:20

Re: title over file icon

Post by christine »

Hi,

in Protostar/Beez the same problem exist?

It seems to be this template? http://www.template-joomspirit.com/temp ... Itemid=121. If so, check template parameters.

You also can try following (below code are from a demo) - so, it could be different to your classes:

put on last line in your template.css or custom.css:

Code: Select all

.phoca-dl-file-box-mod .pd-document64 , #phoca-dl-file-box .pd-document64, #phoca-dl-category-box .pd-document64, #phoca-dl-most-viewed-box .pd-document64 {
padding-left: 70px;}
or change in relevant CSS file: padding-left: xxx;

kind regards, Christine
Post Reply