Hi Jan
I'm trying to change the colour of the download button, but I can't change the class.
Currently it calls up the class "btn btn-success", which is green and I'd like to use the class "btn btn-info" which blue.
I tried to create an override in template/com_phocadownload/download/default.php but it doesn't change anything.
The part I tried to change looks like this in Firebug:
[code]<div class="pd-buttons">
<div class="pd-button-download">
<a class="btn btn-success" href="/public_html/index.php/downloads?download=1:honorarempfehlung-des-schweiz-verbandes-dipl-ernaehrungsberaterinnen">Download</a>
</div>
</div>[/code]
Can you help me please?
Regards
David
Can't change button class
-
- Phoca Enthusiast
- Posts: 55
- Joined: 07 Dec 2007, 15:52
- Contact:
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Can't change button class
Hi, you can change it directly in the code or make the override in your template (as you did). If you have no changes there, try to e.g. check cache settings on your server
(try to disable cache if enabled and clear it).
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 55
- Joined: 07 Dec 2007, 15:52
- Contact:
Re: Can't change button class
Hi Jan
Thanks for the fast answer. I tried both of those without success. Maybe it's something to do with Joomla 3.2.
However, as the client has almost no documents, I used just an article with links.
Regards
David
Thanks for the fast answer. I tried both of those without success. Maybe it's something to do with Joomla 3.2.
However, as the client has almost no documents, I used just an article with links.
Regards
David
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: