Page 1 of 1

Color Download Button

Posted: 30 May 2022, 14:46
by bjoernschweiger
how can i change the color of the download button (green in #fdc400)

Joomal Version 4.1.4

Phoca Download Version 4.0.1

Re: Color Download Button

Posted: 30 May 2022, 18:40
by christine
Hi,

try this to your custom.css:

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400;
}
Kind regards
Christine

There is an update to: 4.0.2

Re: Color Download Button

Posted: 31 May 2022, 07:22
by bjoernschweiger
Unfortunately this did not work

Re: Color Download Button

Posted: 31 May 2022, 09:59
by christine
Hi,

then try to add an !important;

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400 !important;
}
it works (temporary), see here the demo: https://www.phoca.cz/demo/phoca-downloa ... -documents

Kind regards
Christine

Re: Color Download Button

Posted: 31 May 2022, 10:02
by bjoernschweiger
Works great, now there is only a small green border around

Re: Color Download Button

Posted: 31 May 2022, 10:09
by christine
Hi,
then add to above code:
border: none;

with given live URL, we could say more.

Kind regards
Christine

Re: Color Download Button

Posted: 31 May 2022, 10:16
by bjoernschweiger
Unfortunately I can't because it's an internal page in our company. But it's ok I can live with the edge

Re: Color Download Button

Posted: 31 May 2022, 10:32
by christine
Then add also here an !important;

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400 !important;
border: none !important;
}
Kind regards
Christine

Re: Color Download Button

Posted: 31 May 2022, 10:35
by bjoernschweiger
Perfect... thank you

Re: Color Download Button

Posted: 31 May 2022, 11:58
by christine
That's fine.
Kind regards
Christine