Page 1 of 1

download link

Posted: 14 Mar 2023, 07:32
by JEM64
Hello,

When I searched for this, I found only one post from 2010. So, I will ask again. Currently, when you click on the filename, it downloads.

And the same for the 'download' button. Is there a way to A) unlink the title, or B) hide the download button?

Sincerely,

Jim

Re: download link

Posted: 15 Mar 2023, 14:18
by Jan
Hi, download button you can hide e.g. per CSS, and/or per template override. The link on file you can change per template override.


Jan

Re: download link

Posted: 15 Mar 2023, 21:10
by JEM64
Thanks,

Jan

Sincerely,

Jim

Re: download link

Posted: 16 Mar 2023, 06:45
by JEM64
Hello,

Could you tell us which .css files these may be?

Re: download link

Posted: 17 Mar 2023, 13:37
by Jan
Hi, this depends on you. It can be in each CSS file loaded on your site. Usually this is cusom.css or user.css of template where you define your own CSS rules for your site.

So just edit or create custom.css (J3) or user.css (J4) in your template and set the CSS rule there.

Jan

Re: download link

Posted: 18 Mar 2023, 06:15
by JEM64
Hi Jan
Jan wrote: 15 Mar 2023, 14:18 Hi, download button you can hide e.g. per CSS, and/or per template override. The link on file you can change per template override.

Hi, this depends on you. It can be in each CSS file loaded on your site. Usually this is cusom.css or user.css of template where you define your own CSS rules for your site.

So just edit or create custom.css (J3) or user.css (J4) in your template and set the CSS rule there.
I am using Joomla 4, Gantry 5 which allows you to add custom css directly in the template manager. I imagined there was a Phoca css I could edit. So, what I am looking for is the Phoca css file I can edit, or what code to put in the gantry override.

I not an expert on this, so after a half day of searching, I must give up.

I'd like to make a feature request, this should be in the global configuration in the future.

If anyone wants to take a look:

https://www.baby-beast.beast-english.co ... ilanthropy

Re: download link

Posted: 18 Mar 2023, 11:03
by Jan
Hi, Gantry is standard template framework and you can paste the custom.css easily into system:

https://docs.gantry.org/gantry5/tutoria ... tyle-sheet

Of course Phoca Download includes specific CSS files but it is not recommended to add there own CSS code because such will be lost when updating. This is why Joomla system uses custom.css or user.css.

And the main reason to use such CSS files is to protect you from losing the changes.

Jan