Download button image looks wrong

Phoca Download - download manager
User avatar
cicalone
Phoca Member
Phoca Member
Posts: 35
Joined: 27 Feb 2008, 07:53
Location: Italy

Download button image looks wrong

Post 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).
Last edited by cicalone on 26 Aug 2008, 12:10, edited 2 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47948
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download button image looks wrong

Post by Jan »

Hi, maybe there is some conflict between your template css and the phoca download css

Jan
If you find Phoca extensions useful, please support the project
User avatar
cicalone
Phoca Member
Phoca Member
Posts: 35
Joined: 27 Feb 2008, 07:53
Location: Italy

Re: Download button image looks wrong

Post by cicalone »

Can you show me where I could see in order to find this conflict? Or what are settings I have to modify?
User avatar
cicalone
Phoca Member
Phoca Member
Posts: 35
Joined: 27 Feb 2008, 07:53
Location: Italy

Re: [Solved] Download button image looks wrong

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47948
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Solved] Download button image looks wrong

Post by Jan »

great to hear it, Jan
If you find Phoca extensions useful, please support the project
Post Reply