Icon instead of "download"

Phoca Download - download manager
almamun
Phoca Member
Phoca Member
Posts: 20
Joined: 03 Aug 2008, 22:54

Icon instead of "download"

Post by almamun »

Hello, I want to user a download/details icon/image instead of text "Details", "Download".
How can I?

Actually I'm translating this component. If any visitor/user don't have our font installed, he cant read whether it is Download/Details. But to download fonts they need click. So I need changing those buttons to image.

Thanks for the nice component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon instead of "download"

Post by Jan »

Hi, then you need to change the background image, the images are saved here:
components\com_phocadownload\assets\images\

Jan
If you find Phoca extensions useful, please support the project
almamun
Phoca Member
Phoca Member
Posts: 20
Joined: 03 Aug 2008, 22:54

Re: Icon instead of "download"

Post by almamun »

I changed the images.But "download" text covers it. I tried excluding the text. Then the download image button would not work.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon instead of "download"

Post by Jan »

Hi, then you need to customize the code:

- you should remove the css attribute for background image
- and instead of text you should paste some image (e.g. with help of image methods in Joomla!)

Jan
If you find Phoca extensions useful, please support the project
Post Reply