...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).
Download button image looks wrong
- cicalone
- Phoca Member
- Posts: 35
- Joined: 27 Feb 2008, 07:53
- Location: Italy
Download button image looks wrong
Last edited by cicalone on 26 Aug 2008, 12:10, edited 2 times in total.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Download button image looks wrong
Hi, maybe there is some conflict between your template css and the phoca download css
Jan
Jan
If you find Phoca extensions useful, please support the project
- cicalone
- Phoca Member
- Posts: 35
- Joined: 27 Feb 2008, 07:53
- Location: Italy
Re: Download button image looks wrong
Can you show me where I could see in order to find this conflict? Or what are settings I have to modify?
- cicalone
- Phoca Member
- Posts: 35
- Joined: 27 Feb 2008, 07:53
- Location: Italy
Re: [Solved] Download button image looks wrong
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!
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!
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved] Download button image looks wrong
great to hear it, Jan
If you find Phoca extensions useful, please support the project