Page 1 of 1

Download button image looks wrong

Posted: 11 Aug 2008, 23:24
by cicalone
...is what I'm thinking, at least.
In my site (working in local) the download button appears not so good, because the size of the green rectangle is too big (see the attached image, please).

Re: Download button image looks wrong

Posted: 12 Aug 2008, 00:57
by Jan
Hi, maybe there is some conflict between your template css and the phoca download css

Jan

Re: Download button image looks wrong

Posted: 12 Aug 2008, 09:17
by cicalone
Can you show me where I could see in order to find this conflict? Or what are settings I have to modify?

Re: [Solved] Download button image looks wrong

Posted: 12 Aug 2008, 18:39
by cicalone
:twisted: Solved!
The problem was with an existing class of my site template, that had the same name of the class used for the download button.

To solve the problem needs to change the class name. I made the following changes, inserting new class name "downloading":

in components\com_phocadownload\views\category\tmpl\default.php, row 149:
[echo '<td><div class="downloading"><div>';]

in components\com_phocadownload\assets\phocadownload-grey.css, rows 88-97-102:
[#phoca-dl-category-box .downloading {]
[#phoca-dl-category-box .downloading div {]
[#phoca-dl-category-box .downloading div a {]

in components\com_phocadownload\assets\phocadownload-blue.css, rows 88-97-102:
[#phoca-dl-category-box .downloading {]
[#phoca-dl-category-box .downloading div {]
[#phoca-dl-category-box .downloading div a {]

in components\com_phocadownload\assets\phocadownload-red.css, rows 89-98-103:
[#phoca-dl-category-box .downloading {]
[#phoca-dl-category-box .downloading div {]
[#phoca-dl-category-box .downloading div a {]

Enjoy this excellent component!

Re: [Solved] Download button image looks wrong

Posted: 13 Aug 2008, 16:40
by Jan
great to hear it, Jan